How to Send Email Using SignalR

This post shows how SignalR could be used to send messages between different C# console clients using Message Pack as the protocol. An ASP.NET Core web application is used to host the SignalR Hub. Setting up the Message Pack SignalR server Add the Microsoft.AspNetCore.SignalR and the Microsoft.AspNetCore.SignalR.MsgPack NuGet packages to the ASP.NET Core server application where the SignalR Hub will be hosted. The Visual Studio NuGet Package Manager can be used for this. Or just add it directly to the .csproj project file. Setup

Continue Reading

8 Tips to Increase Your ASP.NET Website Speed

This article suggests a few tips to improve the performance of an ASP.NET application. There are many more things which may ensure a better performance and faster response time for a web application. I am discussing only a few of the best practices that will help you avoid some unwanted performance hitters from your application. So, you will have a more lightweight application which runs quicker and gives a better response time. #1. Use Caching Caching is

Continue Reading

Configuration Data in ASP.NET Core

Depending on your context you may not want to be storing these types of application settings in configuration files that are committed to source control. As you would expect, my local environment for development and once I deploy to Azure have completely different configurations. So how do you change the configuration from local to production? If you are used to using appSettings from the app.config and web.config, you may have been going down the road of transforming and replacing values with tools With

Continue Reading

Cookies in ASP.NET

Cookies are also known by many names, HTTP Cookie, Web Cookie, Browser Cookie, Session Cookie, etc. Cookies are one of several ways to store data about web site visitors during the time when web server and browser are not connected. Common use of cookies is to remember users between visits. Practically, cookie is a small text file sent by web server and saved by web browser on client machine. Use of Cookies? Cookies may be

Continue Reading

Code behind in ASP.NET using C#

In this example we explain that how to change CSS dynamically from code behind in asp.net using C#. or how to change CSS file programmatically in C# code(back end  code) in asp.net. Some time we have requirement like if user click on or check Lightweight button then Lightweight CSS is apply to the application for these user only same like if user checked or click on Professional button then Professional look is applied to the

Continue Reading

Joomla 3.2.0 Tips :: Content Version

Joomla is the most popular and widely supported open source multilingual CMS platform in the world, offering more than 64 languages. Content version control is one of the new great features of Joomla 3.2 - this is a great feature for many Joomla webmasters particulary either for those webmasters who forget what they change, or websites where there are multiple users administering the content.  This is also really good for users who want to revert

Continue Reading

ASP.NET Core 1.0 Hosting Tutorial :: How To Add Costum Configuration Files to MVC 6 Project

There has been several changes on how to do configuration in MVC 6 projects, compared to the previous project types. We have found a bit more troublesome to do is to add custom configuration files to a project. This is mainly due to the fact that the development team of ASP.NET 5 have changed some namespace names. You will find in the old tutorial using Microsoft.Framework.ConfigurationModel will no longer be applicable. In this post, we

Continue Reading

European ASP.NET Hosting Tutorial :: How to Apply ImageMap Control in ASP.NET

Many web designers try to impress their website visitors with animated flash buttons or crazy JavaScript navigation menus, but they forget the old HTML Image maps. Image maps are images with clickable areas called hotspots, which allow a user to navigate to another page or website. Following the same old HTML concept of image maps, Microsoft introduced the server side ImageMap Control for ASP.NET developers that let you convert any image into a navigation menu

Continue Reading

ASP.NET 5 Hosting – hostforlifeasp.net :: Anti Forgery Tokens with AngularJS and ASP.NET 5

In this post, I will tell you about Anti Forgery Tokens with AngularJS and ASP.NET 5. Single Page Applications utilizing AngularJS with ASP.NET by default leave our Web API methods open to forgery abuse. A couple of straightforward steps will permit you to include hostile to phony security. The primary step will be to make a custom activity channel ascribe to test our answer which you can use to finish web programming interface classes or

Continue Reading