3524 2
Error : Keyword not supported: 'metadata'

I was trying to use Hangfire.IO in my MVC ASP.NET boilerplate application and pasted this code in Startup.cs as explained here in tutorial

...
Type
Question
3493 0
File I/O in C# (Read, Write, Delete, Copy file using C#)
In this article, I have explained about File input/output (I/O) handling operations in C# with an example to read, write data to a file and delete or copy the file using C# .NET Console application.
Type
Article
3435 1
Error : An asynchronous operation cannot be started at this time

When I am trying to call async method in Class from controller, I am getting the error as below

An asynchronous operation cannot be started at this time. Asynchronous operations may only be started within an asynchronous handler or module or during certain events in the Page lifecycle. If this exception occurred while executing a Page, ensure that the Page is marked <%@ Page Async="true" %>

How can I resolve this error, here is my Current code

...
Type
Question
3429 6
How to convert png image to jpg with white background in C#?

How to convert png image to jpg with white background using C# or jQuery ?

...
Type
Question
3332 1
how to implement switch case in Razor (.cshtml)?

I need to implement switch case in Razor C# page as if-else would not be a good idea, because it will create too many conditions, so i thought to create Switch case instead, here is my current code, but it throwing syntax error

...
Type
Question


3251 0
How to convert string to int in C#?
In this article, I will provide you quick and easy ways to convert string to int using int.parse and int.tryparse with explaining the difference between these two.
Type
Article
3223 2
How to encrypt and decrypt a string in C#? Need easy method with example

How to encrypt and decrypt a string in C#? I would like to know simplest and efficient way for this using some example if possible, thanks

...
Type
Question
3175 0
Multithreading in C# (With example)
In this tutorial, I have explained about multithreading in C# with an example & how to use multithreading in C# .NET
Type
Article
3137 2
how to convert httppostedfilebase to httppostedfile in C#?

How do I convert httppostedfilebase to httppostedfile in C#? Here is my demo code sinppet:

...
Type
Question
3099 0
Create XML document using C# (Console Application example)
In this article, I have explained, how you can create XML document in C# using Console application, it should work in ASP.NET Web-Forms or MVC, as C# code remains same.
Type
Article

Page 3 of 14