All Tags » .net (RSS)

Browse by Tags

  • Forms Authentication and User Not Authorized

    Currently, I have a web application that is utilizing asp.net forms authentication at it works beautifully. The only thing I don't like about it is if a user attempts to access a page they are not authorized to see, .net redirects the user to login page. The user logs in and then immediately they...
  • Accessing SMTP Mail Settings defined in Web.Config File Programmatically

    I needed to read my SMTP email settings defined under system.net section in my web.config file. In order to use eNewsLetter and other SiteAdmin CMS modules that sending email notifications; you can setup your web.config to defind SMTP services settings. Below is one example of SMTP email setting defined...
    Posted to KaushaL.NET (Weblog) by kaushalparik on 09-05-2008
  • site Maintenance

    hi, I got my site live, now if i have to make my site down for maintenance during which end user will see the some apropriate message but i can have access to that site is it possible is yes. what configuarion should i made to achieve this. Thanks & Resga
    Posted to Getting Started with ASP.NET (Forum) by shahid13384 on 08-21-2008
  • Membership Provider

    Hi, I am trying to create a membership provider on a hosted database ( so I can use login control in my app) . I am using ASP.NET SQL Server Setup Wizard ( after prompting asp_regsql.exe) and I get the following error post entering the database detais - 'Invalid object name sysdatabasese'. Do...
    Posted to Getting Started with ASP.NET (Forum) by ianthm on 08-15-2008
  • Free Ebooks from Microsoft Press

    There is a nice offer from Microsoft Learning centre. Download the entire contents in PDF format of the print books for the following subjects: Introducing Microsoft Linq, Introducing Microsoft ASP.NET AJAX, Introducing Microsoft Silverlight 1.0. Here is the link > Microsoft Press - Visual Studio...
    Posted to KaushaL.NET (Weblog) by kaushalparik on 08-04-2008
  • Calculate file hash

    A little code snippet for calculte file hash: public string CalculateHash( string file) { try { MD5 obj = MD5 .Create(); byte [] bytes; using ( FileStream fs = new FileStream (file, FileMode .Open, FileAccess .Read, FileShare .ReadWrite)) { int index = 0; long fileLength = fs.Length; if (fileLength >...
    Posted to Antonio's Blog (Weblog) by antrad on 07-17-2008
  • Clear Recent Project list or File list from Visual Studio .Net Start Page

    Have you ever wanted to clear or remove unwanted items from your "Recent Projects" list on your Visual Studio 2008/2005 startup page? Here is an nice tip on how to clear the "Recent Project" list: Close Visual Studio (if its open) GOTO > Start > Run > RegEdit GOTO > HKEY_CURRENT_USER...
    Posted to KaushaL.NET (Weblog) by kaushalparik on 06-17-2008
  • Re: Storing and retreiving information from Dictionary

    Dictionary<string,string> controlInfo=new Dictionary<string,string>(); foreach (Control control in Page.Controls) { /* storing client id in view state * if you want to put more information of control, use custom object instead of string */ if(!string.IsNullOrEmpty(control.ID)) controlInfo...
    Posted to Getting Started with ASP.NET (Forum) by Asirul on 06-03-2008
  • Problem with dotnetslackers feed

    Hi Sonu, I subscribe to the following dotnetslackers feed on pageflakes http://www.pheedo.com/f/dotnetslackers but several of the links come back with a "this content has been deleted" error. eg. http://dotnetslackers.com/_NET/re-109094_GUVSM_Next_Meeting_Wednesday_May_21th_French.aspx Can...
    Posted to Feedback (Forum) by mcp111 on 05-20-2008
  • PartialCaching, Session Variables and User Control

    Hi All ASP.NET Gurus I am trying to find a way to use Session Variables for caching multiple copies of a user control in a web page. I know we can use QueryString values as well as Control ID's in the VaryByParams option in the user contol file. But what about session variables? That way I do not...
    Posted to Getting Started with ASP.NET (Forum) by JoshC on 03-18-2008
Page 1 of 6 (55 items) 1 2 3 4 5 Next > ... Last »
The leading UI suite for ASP.NET - Telerik radControls
Outstanding performance. Full ASP.NET AJAX support. Nearly codeless development.