Articles - Visual Studio

0

Like

I have a web application running on my server. And I needed to develop a small utility application which has to do some work in database, and I don't want to write same database credentials or connection strings(and some other additional app-settings) in this new console application, I want it to read settings from same web.config file. ...Read more
Posted by: Muhammad Idrees
On 16 Apr 2018 | Views: 133 | Categories: XML, Visual Studio, Tips & Tricks, C#
0

Like

Lets say we need to display and save date in yyyy/MM/dd format. Since our server default format is set to dd/MM/yyyy, and we could not change it because some other applications might get affected, so we decided to set the required format at request level in our ASP.Net MVC application. For this we have to set the date format for current culture for each request, i.e. inside Global.asax.cs, in Application_BeginRequest() event. ...Read more
Posted by: Muhammad Idrees
On 25 Feb 2018 | Views: 238 | Categories: Visual Studio, MVC, C#, ASP.NET
0

Like

There are multiple ways to validate user input string in order to allow only numbers. Lets say we have a string in variable myInput, following are some tips you can use to check if the input string is only contains numbers. ...Read more
Posted by: Muhammad Idrees
On 17 Jan 2018 | Views: 260 | Categories: Visual Studio, Tips & Tricks, C#, ASP.NET
0

Like

Enumeration allows you to define named integral constants that could be hold by a variable, which can be used in client code to clearly specify the valid values for a variable, because in Visual Studio, IntelliSense lists the defined values. ...Read more
Posted by: Muhammad Idrees
On 21 Dec 2017 | Views: 310 | Categories: Visual Studio, Tips & Tricks, C#, Microsoft.net
0

Like

In this post I will explain how to implement localization in Windows Forms Application using ResourceManager class. We will see an example application with Login form, and change the strings/labels with two different locales. ...Read more
Posted by: Muhammad Idrees
On 27 Nov 2017 | Views: 371 | Categories: Win Forms, Visual Studio, C#, Microsoft.net
0

Like

In this tutorial will discuss some important points on VS Code. ...Read more
Posted by: Shivprasad H. Bist
On 20 Sep 2017 | Views: 190 | Categories: Visual Studio
0

Like

In this post I will share the code how to detect the change event for HTML file input. We are supporting an old application written with AngularJS, and encountered this problem. If you are using default ng-change attribute, it will not work in AngularJS because of no binding support for file input control. ...Read more
Posted by: Muhammad Idrees
On 26 Jul 2017 | Views: 245 | Categories: Visual Studio, Tips & Tricks, Other, ASP.NET
0

Like

In this post I will share C# code to remove comments from XML string or file. I am using XMl file in this example: I found two possible ways to achieve this. ...Read more
Posted by: Muhammad Idrees
On 26 Jul 2017 | Views: 222 | Categories: Visual Studio, Tips & Tricks, C#, Microsoft.net
0

Like

In this post, I will explain how to enable IIS for hosting PHP websites by Add Module Mapping for PHP files. ...Read more
Posted by: Muhammad Idrees
On 26 Jul 2017 | Views: 210 | Categories: Visual Studio, Tips & Tricks, Other, ASP.NET
0

Like

I faced this problem after I made some changes in Crystal Report design. Somehow in Page Setup dialog box, the printer is changed in drop-down list, pointing to my local PC printer. And it was working fine at local PC but getting stuck when crystal report document is calling its Load() method on server. ...Read more
Posted by: Muhammad Idrees
On 26 Jul 2017 | Views: 219 | Categories: Visual Studio, Tips & Tricks, ASP.NET, Microsoft.net
Page 1 of 7
Other lins

.Net Techies
Other lins