I have some pages that only users have logged in can access in. and I created my manual login system (not Microsoft login component). So how can I give the rule to my valid user after login and check that in pages
View Complete Post
Following this thread: Any plans on releasing the source code for WebMatrix itself?
How about those Helpers code?
I'm working on a blog framework using ASP.NET Web Pages with Razor Syntax and I'm having some trouble with URL rewrites. My server is a Windows Server 2008, which runs IIS 7.0. WebMatrix is already installed on the server and .cshtml pages runs without problems, as long as they are named "index.cshtml" I don't have to supply the extension.
What does not work, is when I have URLs that does not correspond to physical files, e.g. website/post/why where the only physical file I have is post.cshtml. With IIS Express, the post.cshtml file is execute but on IIS 7.0 I get a 404 error.
Should I install the URL Rewrite for IIS 7.0? What configuration changes is required?
If i hard coded role=Manager on the specific SiteMap/Folder/Page/etc. I will have problem when the manager need to remove from access a specific page. I need to change the code ont eh page/SiteMap/Folder more move the file into another folder.
What i have in mind is to change the role to taks oriented. such as role=AddStock, Edit Stock, Delete Stock, Print DO, Add Sales, Edit Sales, Deleted Sales..... (but it will be many role for 1 user compare to just 1 as Manager)
Will this cause performance issues later when each user have 60 roles and if i have 20,000 user will it affect the application performance?
Otherwise any other option? to make it flexible.
Can anyone give me suggestions on how to implement the following requirement?
1. A online wizard (step-by step operation) processes user requests across several ASP.NET pages. The session data is stored in memory until the user submits the request. Once the request is submitted, a XML file is created and the data are passed to XML.
# Case Study: The parent page has a "select" button. Click "select" will pop up a child page. The users can select 1000+ items from a datagrid in the child page. Once the user clicks "confirm", the selected items in the child page will be populated to the selected item gridveiw in the parent page. The user can keep selecting more in the child page and the selected items will be appended to the gridview in the parent page.
- What's the best way to extract strings from a text file and convert to a dataset in memory and then present it in a datagrid in UI?
- What's the best way to persist and manipulate a large dataset across pages? Session? or ViewState? Can it be accomplished by LINQ?
The app doesn't interact with a DB. Once the request is submitted, it will convert the in memory data to a XML file. What technology can be used to accomplished this?&nb
how to pass the value from one page to another page in asp.net with out Using State Management Concepts?
Like 1. cookies
With out using the above should pass the values...
Hi all, and thanks a lot for the replies since now. I have a new question :
I prepared a simple instant messaging system for my web site and i would like to learn which visitor (registered member) is at which page of my site.
For example :
Uid:10000, Username:donald, NameSurname:Donald DUCK is a registered and signed in visitor.
I need the code which tells me that visitor is at which page (ie. images.aspx?imageid=143223)
Sorry for my poor english, and let me know if i should explain more clearly :)
Have a good evening...
If you need to scale up an existing Web application, you should first look to asynchronous operations, says Dino Esposito. He explains how new features coming in ASP.NET MVC 2 make this easier.
MSDN Magazine April 2010
Download Visual Round-trip Analyzer (VRTA) to uncover the root of your Web page loading problems and identify these 12 common ailments.
MSDN Magazine November 2008
The British Library is digitizing some of its collection to reach a broad audience. Even better, the digitized versions are being turned into a rich interactive experience that brings the books to life.
MSDN Magazine September 2007