Posts filed under: Asp.net

What’s New with ASP.NET Core 1.1

In this video, we go over some of the exciting new features in ASP.NET Core 1.1. Learn about ASP.NET Core 1.1 integration with Azure and more....
Continue Reading →

Ressources manipulation with ResGen.exe & AL.exe

Al.exe: – Assembly Linker (Al.exe) generates a file that has an assembly manifest from modules or resource files. – A module does not have an assembly manifest. – It embeds the resources into a satellite assembly. – It takes the...
Continue Reading →

NDC London 11-15 Jan 2016

The lines are getting increasingly blurred between the web and native apps. Operating systems are able to execute JavaScript from a remote web server, web apps are able to reach into your documents and fiddle around with them, you can...
Continue Reading →

Finding the Correct Version of Aspnet_regiis.exe

Aspnet_regiis.exe is installed in the Microsoft.NET Framework directory. If the computer is running multiple .NET Framework versions side-by-side, multiple versions of the tool might be installed. The following table lists the locations where the tool is installed for different versions...
Continue Reading →

Cross-Site Request Forgery (CSRF) Attacks in ASP.NET Web API

Overview Cross-Site Request Forgery is an attack where a user is forced to execute an action in a web site without knowing the action ever took place. If a web site is vulnerable, an attacker can capture a well-known action...
Continue Reading →

C# detect Chrome Browser

public static bool IsChrome(HttpRequest Request) {       try      {             return (Request.UserAgent.Contains("Chrome"));      }      catch (Exception exp)      {           return false;    ...
Continue Reading →

Events order in an ASP.net Page

This is the order of the events firing in an ASP.net Page with a master page   1 – Content page PreInit event. 2 – Master page controls Init event. 3 – Content controls Init event. 4 – Master page Init event....
Continue Reading →

ASP.net move to anchor location programatically

Hi guys,   If you also have the requirement to programatically go to an anchor location, you can use the following line of code I had to use this, to go down in the page after the event page submit, to...
Continue Reading →

Test SMTP Server for ASP.net Dev machines

Hi Guys, If you need to test the email sending process from your asp.net application in local dev boxes (i.e. where you can’t connect to an smtp server), don’t worry, there is a fix for this. First we need to...
Continue Reading →
Show Buttons
Hide Buttons