Architecture :: Retrieve Access Point Information?
Sep 15, 2010
I've many wifi access point that are giving me connection inside an intranet, every access point is located in a wanted position of course, and my big problem is to know to which access point i'm connected trough a web page!Let me say access point named "A", and access point named "B", i must retrieve, with a web page, to which access point the client is connected because in that way i'll get the right position of my mobile
View 1 Replies
Similar Messages:
Mar 20, 2010
I want to read some information from an xml file and store it ready in memory so that it can go out with every page response without being reloaded from the xml on every request.
What is the best way of doing this?
It looks to me like there are 2 options. Either create a class with static fields that the information is stored in. Or create a class with public fields that the info is stored in and create an instance of that class at application level.
Is that correct, are both of those options viable? or will I not be able to access the fields in the second method without creating an instance of the class in the code that responds to the page request(basically if you create an instance of a class at application level can you use that instance from within code anywhere in your website as long as it is public)?
View 8 Replies
Jan 26, 2011
Just wondering, in an ASP.NET MVC3 environnement with entity framework. Should the Unit of Work point to the service layer or the repository (and then the repository point to the service layer) ?
Ive saw two example:
* One where the unit of work and repository both have an instance to the service layer..
Link: Entity Framework 4 CTP 4 / CTP 5 Generic Repository Pattern and Unit Testable
Doesn't use a service layer but its obvious that one could be use in that case.
* Second where the unit of work have an instance to the repository which have an instance to the service layer..
[URL]
What would be better ?
View 11 Replies
Dec 12, 2010
I'm trying to access a user's userId in the login forms user logged in event, but I keep getting an error.
If I attach the code to a button which is clicked when a user is already logged in, I get no problems, it's only when I try to execute it within the user logged in event that I get the problem.
Below is my code with the part that causes the error commented out:
[Code]....
I'm guessing that I'm trying to access the userid before it is available, i.e. before they're logged in, but the event as I understand it is fired immediately AFTER they've logged in.
In which case, when is the earliest point that I can access a logged in user's userId (I'd like to tie this in to the point at which they login)
View 10 Replies
Apr 20, 2010
I'm working on building a Web Forms app to process an online application that users enter in. This application takes one set of person info (name, address, etc..) and then can take X number of several other sets of information. I have the database design set up to handle the information (and all the keys/relationships). Where I'm having a problem is deciding the best way to handle taking the information on the web form.
Currently I'm thinking to build each set of information into its own user control and then trying to dynamically add an instance of the user control onto the page as needed to take each set of information. For instance, if one person has 3 personal references, they could have a button to keep adding reference controls until they put in all the information. So you'd start with 0 controls, click add to have 1, click to add a second, etc. I've read a lot of posts about issues regenerating the control, or problems with static variables when multiple people are using the same form and control counts being off. Am I taking the right approach to this project or is there an easier way I'm not aware of?
View 2 Replies
Sep 30, 2010
We are in the midst of developing WEB application using .NET. so, i would like to know the Best practises for ASP.NET development, SQL server db, IIS security and network security as well. Where to get the information? I googled for it, but i cannot get the complete set and the info was updated 7 years ago. [URL]
View 2 Replies
Jul 16, 2010
With Visual Studio 2010, .NET Framework v4, Visual Basic.
Suppose you want to create some DLL. It will have many classes and methods. There is some information which will be used by many methods. I would like to hand over the information to the DLL once, and the DLL should store it in some place where any method can access it.
The DLL will be used both from within an EXE and from within an ASP.NET application.
View 19 Replies
Mar 15, 2010
As per this MSDN article:
W3C Extended Log File Format (IIS 6.0)
It says cs(Referrer) contains the REFERER information that can be read from the IIS log files.
I am trying to display the log information using an ASP.NET Repeater control:
<asp:Repeater ID="rptlIISLogEntries" runat="server">
[Code]....
View 1 Replies
Feb 11, 2010
I am running an ASP.Net page on IIS7, and developing in VS 2008. Currently, I have user authentication being done through an LDAP connection. Once the user logs in, on one page they have a form with some basic information about them (such as their name, email address, country, and the like) and I wish to pre populate some of these fields from information already stored in the LDAP. In particular their given name and email addresses. The question is, using C#, how do I actually retrieve this information?
View 1 Replies
Sep 14, 2010
I want to log the assembly version information into a log file each time my WCF web service is called. I know that in an application the My object has an Application object which has the Info structure, that contains the Version string that I can use. How can I get the version information for the WCF service to a log?
View 1 Replies
Nov 23, 2010
I have a <div> tag in html page in asp.net as shown below:
<div id="DestAdd" runat="server"></div>
The above tag store information like "Jurong West".
The following code store the address in its innerHTML:
document.getElementById("DestAdd").innerHTML = DestRoadName;
I would like to retrieve the information "Jurong West" stored in the <div> tag in code-behind:
string retdata = DestAdd.?
View 10 Replies
Aug 6, 2010
Suppose I have an url like [URL} I can retrieve the 'form' value in code behind like Request["from"].How can I do the same using Javascript?Can I do this using Jquery also?If yes how can I do this?
View 2 Replies
Dec 13, 2010
Not point to the break point.it gives above error massege when start debbuging. How i fix this.
View 1 Replies
Apr 7, 2010
How can I retrieve information from delete rows. I delete some rows from table in dataset, then I use method GetChanges(DataRowState.Deleted) to get deleted rows. I try delete rows in original table on server side, but it finished with this errors. I try get value of columns from row, which was deleted
[Code]....
View 6 Replies
Jul 17, 2010
I am storing response from opeid provider using
NameValueCollection query = HttpContext.Current.Request.QueryString;
I am sending request for emailid as
"&openid.ax.type.email=" +
HttpUtility.UrlEncode("http://schema.openid.net/contact/email"))
but receiving emailid in openid.ext1.value.email in some case and openid.ax.value.email in others.
View 2 Replies
Oct 7, 2010
I am using Infragistics Ultralistview to display data in List which contains 3 columns and 4-5 rows(that could be upto 'n' rows depending upon data added). When i hover over the row for 2 seconds, i want that other information about that row should be displayed in a panel like control. How to do that? Let me know if anything else is required from my side.
View 1 Replies
Oct 26, 2010
I want to pass an asp.net membership user name to a subroutine and retrieve the profile property named FullName for that user, how can i achive this in vb.net?
View 2 Replies
Feb 5, 2010
I'm doing an MLM website and I have a table that holds parent-child relationships as well as the position (L or R) in the binary tree and the Level. Top node is level 0, his two child records are level 1 and so on. I'm lost as to how to find the next available node that doesn't have 2 child records associated to it. This is for tree placement when I register a new distributor in the tree. I need to find out the first record that doesn't have 2 child records to assign the newly created distributor that sponsor id. I also have to assign the new distributor a position (Left or Right) in the tree. If there are no children in the tree then I assign them L if there is a child already then I assign them R. Is this better to do with SQL queries or bring in the data and parse through the tree to get the answers?
View 6 Replies
Jun 8, 2010
I'm using Content Management System, DotNetNuke for my dynamic website. DNN itself they have one database, I named it dnnDB. Inside the dnnDB they have the users table which have the list of users. I need to be able to pull this set of information or synchronize to my own database, myDatabase for development purposes. I do not want to incorporate my database into dnnDB, afraid that I may corrupt the system.
View 4 Replies
Oct 7, 2010
I now get this message in Visual Studio 2010;
Error: Unable to retrieve folder information from the server. (550).
View 2 Replies
Jun 7, 2010
i am using the following code for a retrieving a image stored in access database
View 12 Replies
May 26, 2010
I want to retrieve a single column from a table in a database(ms access) and then the value retrieved has to be converted to a string!!
View 4 Replies
Feb 17, 2010
My slideshow extender work perfectly fine, but I want to retrieve the current display picture's information on the server side.
So I added a normal asp button on the same page as the slideshow extender. When button clicked, it fire off a server side function. In the function I grabbed the SlideShow's name label, description label or the Image, but none of them contain any current information of the picture displayed at slideshow extender.
Is there another way to obtain the slideshow extender current state? Or am are those name, description label text value should be updated?
View 1 Replies
Feb 12, 2010
I am starting a new project in ASP.NET (With silverlight) - I would like to get expert opinion about how to design the data access.I can use DataAccess Layer with SQL helper, but the challenge is every new field that I add needs to be added in the sql helper.I am trying to see if there is a way to design the system, so that it appears in the front end when a new field is added. I don't want to have in the ASPX files (binding in controls) I want to have ability to change items in code. Essentially I am trying to see the best option to have a database application.
View 1 Replies
Apr 26, 2010
the best way of achieving the following using SQL Express 2008.I have a table with the following information in:
merchant id (an integer referencing the merchant i.e 1000)
merchant category id (an integer referencing a unique category for the merchant i.e 1015)
points (a long int)
I want to access the point data for both the merchant and merchant category.
?
i.e. merchant 1000 total points 100
merchant category 1015 total points 70
merchant category 1016 total point 30
I created a view with rollup which gives me the 2 levels i need, but i'm unsure as to whether this is the most efficient way of achieving my goal.Ideally I'd like a view to show the following:
merchant category 1015 category points 70 merchant points 30 rather than:
merchant category 1015 merchant 1000 points 70
merchant category 0 merchant 1000 points 100
View 1 Replies