Articles - C#

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: 65 | 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: 158 | 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: 191 | 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: 253 | 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: 270 | Categories: Win Forms, Visual Studio, C#, Microsoft.net
0

Like

This article will demonstrate the folder structure we need for Angular projects. ...Read more
Posted by: Shivprasad H. Bist
On 03 Nov 2017 | Views: 240 | Categories: C#
0

Like

Posted by: Shivprasad H. Bist
On 27 Oct 2017 | Views: 220 | Categories: C#
0

Like

In this post I will explain how to write custom logging messages in WCF tracing. I found many articles showing how to enable tracing and can see the default messages when service gets invoked. ...Read more
Posted by: Muhammad Idrees
On 19 Oct 2017 | Views: 251 | Categories: Web Services, WCF, C#, ASP.NET
0

Like

This article will explain about services, implicit and explicit intent in Xamarin mobile development. ...Read more
Posted by: Shivprasad H. Bist
On 06 Sep 2017 | Views: 142 | Categories: C#
0

Like

Posted by: Shivprasad H. Bist
On 06 Sep 2017 | Views: 184 | Categories: C#
Page 1 of 25
Other lins

.Net Techies
Other lins