Posts

Related Topics

How to set Date and time format in IIS Manager

Image
How to set Date and time format in IIS Manager:- Hello guys Many times you might have got requirement of changing DateTime Format Of your IIS Hosted Web Application.Sometime Date format changes work on LocalHost but on IIS the date format remains same.So in this video you can learn how to change that format. Select Application Pool Select Project and click on Advanced settings Expand Process Modal and Select Identity Select Custom Account and Click on set and enter UserName Password(System Credentials) and ok  Click On Browser Option and A popup will open with Two Option Built in Account and Custom Account.Select Custom Account and Enter UserName and Password of a system Account.Can be windows UserName and Password and press ok. Now go to Control Panel and Open Region Click Change date,time Now a window will Open   .Select Administrative there Click on Copy SetTings Check Both Checkbo...

Handling Exceptions in Asp net Mvc using base co...

Image
Exception Handling and Creating Exception Logs in Asp.net   Mvc   :- As per a Developer we have to face issue of handling Exception Effectively.In this Article we will see how to handle exceptions effectively in Asp.Net Mvc.So Let's See how it works:- Base Controller:-  So basically in a MVC Project  we often use many controllers for making our web project functional.So one way is to handle exception separately on all of them or we can simple use a Base Controller. A Base controller can be told as a parent controller from which all other controller will inherit.So in that way Exception handling performed on Base Controller will get applied on all controllers which inherits from  this controller.                                         ...

Stopping Browser Reload On saving file in Visual Studio Asp.Net

Image
Browser Reload On File Save:-         In  Asp.Net you might have noticed you browser getting refreshed whenever you save any File using Fileupload in Webforms or MVC. We will see how we can stop that. Download Extension:-   You have to dowload this extension for Visual Studio from this link https://marketplace.visualstudio.com/items?itemName=MadsKristensen.BrowserReloadonSave          After downloading just double click on that and attach that with your Visual Studio 2015,20117 or 2019 .And Follow the steps                                       So you have to go to Tools > Options > Web And Then turn Browser Reload On save to False and Ok And Now your browser won't reload again on ...

Get Client Machine Ip address using javascript in Asp.Net

Image
Hello guys for getting your local ip address of client machine download this file https://drive.google.com/file/d/16BNKyjDjI1p9wUaYm0HYcSYVmMUQypEu/view?usp=sharing and use the code in that like showed in images For video tutorial check out https://youtu.be/Nkf37DsxYjI For images Image