ASP.Net has a built-in feature named Forms Authentication that allows a developer to easily secure certain areas of a web site. In this post I’m going to build a simple authentication sample using C# and ASP.Net 4.0.
For very good reasons, not all extensions are recognized by IIS by default and may return a 404 error when trying to access them from your site. If you have need to add more extensions to be “allowed” – for example if you have embedded font files – you have a few different options. One […]ASP.NET, cytanium, Development/Coding, Hosting, IIS, OrcsWeb, System Administration, tip
When attempting to run an application that uses certain Telerik controls, you may run into the error below: System.InvalidOperationException: ‘~/Telerik.Web.UI.WebResource.axd’ is missing in web.config. RadStyleSheetManager requires a HttpHandler registration in web.config. Please, use the control Smart Tag to add the handler automatically, or see the help for more information: Controls > RadStyleSheetManager at Telerik.Web.UI.RadStyleSheetManager.OnPreRender(EventArgs e) […]ASP.NET, blog, CMS, Hosting, IIS, Troubleshooting
I had to dig up this handy tip earlier so figured I’d repost it – both for myself and for others looking to make their code cleaner without manually respacing and indenting everything. http://www.orcsweb.com/blog/brad/auto-format-vs2010-source-code/ASP.NET, Development/Coding, Visual Studio
People get this error a lot when upgrading an ASP.NET 2.0 application to ASP.NET 4.0. Here is a link to common ASP.NET 4 Breaking Changes: http://www.asp.net/learn/whitepapers/aspnet4/breaking-changes#0.1__Toc256770149 And here is the section that applies to this error: “The workaround for the second scenario is to delete or comment out all the system.web.extensions configuration section definitions and […]ASP.NET, cytanium, Development/Coding, Hosting, IIS, OrcsWeb, System Administration, tip, Troubleshooting, Visual Studio, WebMatrix, Windows
I previously wrote an article on what code you can use to send email using ASP.NET C#. That article assumed that the local SMTP service was allowing anonymous relay for code on the local server (i.e. 127.0.0.1). Below is a slightly revised code sample allowing for authentication against an SMTP server in case your server […]ASP.NET, cytanium, Development/Coding, Email, Hosting, OrcsWeb
Since we perform managed shared hosting, managed dedicated hosting, and managed cloud hosting at OrcsWeb, we sometimes get involved assisting clients with certain situations related to their site’s code, and we try to assist (within reason) even if the situation has nothing to do with the servers or hosting services. A fairly regular need that […]ASP.NET, Hosting, IIS, OrcsWeb