View Complete Post
I used Windows Workflow Foundation 3.5 as a page flow navigation for a ASP.NET website's Previous and Next page navigation.
The site acts like a shopping cart and each user has his own session and user data. The app only has one WF. I am not sure if I should generate one Workflow Runtime for every user or for simply generate
one workflow Runtime for the entire application in my case?
In the global.asax:
void Application_Start(object sender, EventArgs e)
void Application_End(object sender, EventArgs e)
void Session_Start(object sender, EventArgs e)
// Code that runs when a new session is started
System.Workflow.Runtime.WorkflowRuntime workflowRuntime = new System.Workflow.Runtime.WorkflowRuntime(WorkflowManager.WorkflowRuntimeKey);
May i know what is the Differenc that they actually make in IIS7 .
Please tell me at a low level as i am still a novice in Asp.Net
Thanks in Advance.
I have a web application in which i need to logout the user if he clicks the logout button or even if he closes his browser window. On Logout button click, i am doing session.Abandon(), but how to go about his browser window close.
Can anybody help with a code sample.
MSDN Magazine December 2001
MSDN Magazine November 2001
When I run my application I want my web browser to open automatically in fullscreen(F11) mode.
User Interface: 2 Labels; 1 Buttons
Requirements: Create a Web Page in ASPx that will do the
One label will provide a count of how many times
Button 1 has been clicked in the current session.
One label will provide a count of how many times
Button 1 has been clicked by all users of the application.
The Application Code for the Button should start
at 100 (set this in the Global.asax file).
this is what i have so far but i cant seem to get the application state to work properly.
Partial Class _Default
Dim clickcount As Integer
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
If Session("ClickCount") Is Nothing Then
clickcount = 0
clickcount = CInt(Session("ClickCount"))
I am trying to create a Windows Application similar to facebook friend finder.exe in .NET. The steps I have followed to achieve this is as follows:
1. I have created a webservice containing webmethod SaveContacts(string firstname, string lastname, string number, string photo, string email, string userid).
2. I am consuming the webservice in a Windows Form application and calling the above mentioned function.
Now, I want to get the current logged in user ID which through the windows form application which is something tedious to me.
If anyone have any idea how to achieve this. Please help.
I have a web application using window authentication. There are a search page and a edit page in the application.
In search page, user can enter some search criterias in the textboxes and the search result will be displayed in the gridview by clicking the "Search" button. User can select any row from the gridview and it will take him to the edit page.
In the edit page, there is a "Back" button to take the user back to the search page. I use session variables to remember what the search criterias the user entered in the textboxes and what page number the user was in the gridview. So when the user goes back to the search page, the textboxes are pre-populated with the search criterias and the gridview is displayed in the correct page number.
The problem is:
If user1 opened one browser window and did a search using search criterias1, then user1 opened a 2nd browser window and did a search using search criterias2. When the user1 went back to the search page from the edit page using the first browser window, all the textboxes and page numbers are from the 2nd browser window, instead of the 1st one.
Can anyone explain this problem to me and how to prevent it? It will be helpful too if you can give me some links about the similar problem.
I am developing Windows Mobile Application (NETCF 2.0) which needs to make connection to WCF Service (4.0) hosted on IIS. Mobile Application establishes connection with Server (containing WCF Service) for each transaction which requires authentication from
How can I maintain WCF Sessions to authenticate Mobile Application for the first time (using database credentials) and store/use that Session to serve subsequent requests coming from Mobile Application?
My Mobile Application uses NETCF 2.0 and WCF uses 4.0.
I'm a part time prgramming enthusiat and have developed several web applications on earlier version of ASP. I'm preparing to get back intoit and have been searching for ways to accomplish my goals. One goal is to acquire data from a website feed and break it down for use of specific data in my application. Specfically I want to be able to grab scores from NFL games so that I can use them in my application. What I believe I need to do is write my ASP.NET MVC code to capture an RSS feed, then parse the feed (I'm guessing using C# string commands to break the feed down to variables that I can cast as integers and then use in my application.) What I am uncertain of is whether this is the best approach. Is what I am attempting to do best done with ASP.NET, XML and C# or should I be considering another approach? Any pointers or suggestions for good examples/tutorials/books that you would recommend would be greatly appreciated.
We are developing an application which has tabbed views for user input. We need to "cache" the data entered in one tab while the user is filling up other tab. Though "Form Caching" is not allowed.
Please let me know the following: