Quantcast
Channel: Developer Publish
Browsing latest articles
Browse All 36 View Live

Image may be NSFW.
Clik here to view.

Getting CI Right for SQL Server & A Whirlwind tour of DBCC CHECKDB at Birmingham

Microsoft Data Platform Group – Birmingham is hosting its user group meet on the topic Getting CI Right for SQL Server & A Whirlwind tour of DBCC CHECKDB on Thursday, March 9, 2017 at 6:15 PM....

View Article



Image may be NSFW.
Clik here to view.

How to calculate difference between two dates in C# ?

There are times when you might to calculate the difference between two days in C# and get the number of days as result. How to calculate difference between two dates in C# ? Assuming both the start...

View Article

Image may be NSFW.
Clik here to view.

How to read the entire contents of a file to a string variable in C# ?

There are several ways in which you can read a text file in to a string variable in C#. One of the simple ways to achieve it is using the ReadAllText method of the File class. How to read the entire...

View Article

Image may be NSFW.
Clik here to view.

F# Recipe #1 – Display Odd Numbers between 0 and 100 in Console Window

Problem You need to write a F# program to display odd numbers between 0 and 100 in the console window. F# Program to display odd numbers between 0 and 100 in the Console Window. open System let main...

View Article

Image may be NSFW.
Clik here to view.

F# Recipe #2 – The type int is not compatible with type unit

Problem When writing your first F# program , you get the following error “The type int is not compatible with type unit”. You need to fix this. Solution The type unit is F#’s version of void. This...

View Article


Image may be NSFW.
Clik here to view.

F# Recipe #3 – program to find if the number is positive or negative

Problem Write a program in F# to find if the given number is a positive or negative number. F# program to find if the number is positive or negative. // Learn more about F# at...

View Article

Image may be NSFW.
Clik here to view.

How to Change the Start Page of the Xamarin Forms Application ?

By default , when you create a new Xamarin Forms application in Visual Studio , it creates a MainPage.xaml in the portable (PCL) project and this is set as the start page of your android and iOS...

View Article

Image may be NSFW.
Clik here to view.

Using Conditional Compilation in Xamarin Shared Project for iOS

There are times when you might want to perform an action that is specific to a device in the Xamarin Shared Project. For example , assume that you have to set the string named title within the Xaml...

View Article


Image may be NSFW.
Clik here to view.

MissingMethodException ‘Xamarin.Forms.Device.get_RuntimePlatform’ in...

There are times when you might get the System.MissingMethodException ‘Xamarin.Forms.Device.get_RuntimePlatform’ when working with the Xamarin.Forms application and using the method...

View Article


Image may be NSFW.
Clik here to view.

How to return JSON instead of XML in ASP.NET Web API when using Chrome ?

When using the ASP.NET Web API in Google Chrome , there are times when you see the XML output instead of JSON. You might want to request JSON data so that you can view it in the browser. How to return...

View Article
Browsing latest articles
Browse All 36 View Live




Latest Images