Configuration Data in ASP.NET Core

pexels-photo-1_1540x800_acf_cropped
 
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

tips-evaluate-current-online-resources-before-elearning-outsourcing
 
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#

aspnettips
 
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

6869-01-flat-design-office-2-558x313
 
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

How To Add Costum Configuration Files to MVC 6 Project - hostforlife Tutorial
 
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

gamification-in-business-illustration-web
 
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 – HostForLIFE.eu :: Anti Forgery Tokens with AngularJS and ASP.NET 5

angular_0
 
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