A place for coders

String conversions in C#

Introduction This post will contain small code snippets that will convert a string to different types like a datetime,enum etc… string to enum The below snippet will convert string to an enum value. string to DateTimeOffset The below snippet will convert string to DateTimeOffset object. If the string cannot be converted then return current DateTimeOffset.

How to integrate CcAvenue payment gateway in ASP.NET MVC ?

Prerequisites You should have a ccavenue account. Problem The second step is the problem I faced while integrating the ccavenue page.I found out that most of the people were finding the same.As we are developing something we need to first test it in development environment. Inside your ccavenue account they have already given you the access code,merchant Id and access key for a url.But those credentials will only work if you are redirecting to the ccavenue page from that url only.

How to send push notification to your android device using C# code?

Introduction Push notification is like a message that hits the users device.Its a modern way of engaging users in the app.Each app can have their own push notification enabled. This article is going to cover how we can send a push notification to your mobile using a C# code. The core things we need to send is Token generated from the device which we want to send push notification to Type of the device (Android,IOS,Windows)