Post data using HTTP in C#

Currently the preferred approach. Asynchronous. Ships with .NET 4.5; portable version for other platforms available via NuGet.

POST

GET

References http://stackoverflow.com/questions/4015324/http-request-with-post Keywords […]

Continue reading »

Generate Nested Menu from datatable using c# as ul list

References : http://stackoverflow.com/questions/14137811/generate-nested-menu-from-datatable-using-c-sharp-as-ul-list-not-asp-net-menu-co Keywords : ul , li , treeview , menu , recursive

Continue reading »

How to add JavaScript library in MVC project

JavaScript :

CSS :

References : http://stackoverflow.com/questions/20081328/how-to-add-jqueryui-library-in-mvc-5-project Keywords :  References ,  Script , Bundle

Continue reading »

Get CPU and Memory usage of system in C#

References : http://stackoverflow.com/questions/4679962/what-is-the-correct-performance-counter-to-get-cpu-and-memory-usage-of-a-process http://stackoverflow.com/questions/2181828/why-the-cpu-performance-counter-kept-reporting-0-cpu-usage

Continue reading »

Android Xamarin SQLite

References : https://developer.xamarin.com/recipes/android/data/databases/sqlite/ https://developer.xamarin.com/guides/cross-platform/application_fundamentals/data/part_2_configuration/ https://developer.xamarin.com/guides/cross-platform/application_fundamentals/data/part_3_using_sqlite_orm/

Continue reading »

Show a Dialog using DialogFragment in Xamarin Android

Let us first define the layout for your fragment. In this example, I have used two TextViews and Button. My layout looks as follows:

[…]

Continue reading »

Show a Dialog using AlertDialog in Xamarin Android

References : http://javatechig.com/xamarin/alertdialog-and-dialogfragment-example-in-xamarin-android

Continue reading »

Communicate over TCP Socket and Serialize data with json format in C#

Client :

Server :

Continue reading »
1 2