Category Archives: Nuget

[RESOLVED] Error when Install 51Degrees.mobi

I am using Nuget Package to install 51Degrees.mobi package for mobile device redirection and I get the following:

Failed to generate binding redirects for 'App'. An item with the same key has already been added.

Any ideas?

Hi,

I have downloaded the Nuget Package and used it to install 51Degrees.mobi package locally. However, it works well. In order to resolve your issue, please re-check whether the 51Degrees.mobi has been installed firstly. Then, try to install other package and check whether there is the similar issue.

[RESOLVED] Best way to log errors and other logs for a web site

What is the best way to store and log errors or other information you want to see as your website works? Right now I save everything in an ERROR folder as .txt files. 

Hi,

make use of ELMAH: http://code.google.com/p/elmah/.

It's a snap to install via Nuget: http://www.nuget.org/List/Packages/elmah.

Grz, Kris.

 

[RESOLVED] list from Site Statistics

hi

i need to a list from items can display in Site Statistics

please help me

thanks

Hi,

vahid bakkhi

a list from items can display in Site Statistics

Your question's not very clear. Can you please elaborate what you're after?

If you want to have some sort of diagnostics then you can make use of Elmah for example.

Grz, Kris.

[RESOLVED] What is NuGet & Razor usage in asp.net MVC apps

i dont know asp.net mvc but i often saw people write article and use the keywords like NuGet & Razor. it will be helpful if someone discuss in detail that what is NuGet & Razor in MVC and what is their usage? thanks

NuGet is a Visual Studio extension that makes it easy to add, remove, and update libraries and tools in Visual Studio projects that use the .NET Framework

http://nuget.codeplex.com/wikipage?title=Getting%20Started

And Rajor is view engeen, just like a aspx page but slightly different syntax which pulrly similar to html.