Adds a reference to FiftyOne.Foundation.dll, the assembly containing the 51Degrees logic
Adds AppStart_51Degrees.cs to the root of your project. This enables the 51Degrees mobile detection provider, which populates Request.Browser information whenever you ask for it
Adds a recent copy of the WURFL device list to your project at ~/App_Data/wurfl.xml.gz
Adds a folder, ~/Mobile/ containing a Web Form that displays information about the device.
We don’t want this in an ASP.NET MVC application – just delete the ~/Mobile folder that it added.
Adds a section to your Web.config file that configures 51Degrees.Mobi Foundation with some default settings. One of its default settings is to redirect mobile browsers to the URL ~/Mobile. This would be useful if you were setting up an MVC Area called
“Mobile” for mobile browsers, but since we’re just changing the master page, we don’t want this redirection to happen.
Disable it by modifying Web.config: Find the <redirect> element inside <fiftyOne>, and comment it out or delete it.
but those steps are not clear for me ,, so is there another source of info on how to install 51degree.mobi?
it also appears under the Nuget gallery so if you have Nuget then you can simply add it to your project by using the following statement in the Package Manager Console:
If you can't get it to run I suggest you uninstall it and install the latest version. Then try again to open the console. Note that it takes a while for the powershell to start up before you can use it and type something in it.
Grz, Kris.
Read my blog | Twitter Interested in Azure, ASP.NET (MVC), jQuery, WCF, EF, MS SQL, ...
Keep the forums clean: report to the moderation team!
As I described before, there you have to search for the package. It's in the console window, which is something completely different, where you have to type install-package ...
i got totally confused on how to install the "51Degrees.mobi", i downloaded and installed the Nuget Official package source ,, which should include the 51Degree.mobi as i understood. but till now i can not find where i should write "PM> Install-Package
51Degrees.mobi" !!!
note :- The package manger consule is not working in my visula developer,,becuase when i tried to open it nothing will be displayed!!
The package manger consule is not working in my visula developer
And apparently that doesn't work for you so you can't write in there. You can also make use of the alternative way I talked about to make and showed a getting started link about which shows it in detail.
I suggest you uninstall Nuget and try installing it again. Then see if it works. Also, are you behind a proxy or something? That might cause problems as I found out at another client in the past.
Grz, Kris.
Read my blog | Twitter Interested in Azure, ASP.NET (MVC), jQuery, WCF, EF, MS SQL, ...
Keep the forums clean: report to the moderation team!
fareed faree...
Member
37 Points
17 Posts
How i can install 51Degree.mobi to MVC 3
Aug 10, 2011 07:35 AM|LINK
i read about 51degree.mobi ,, but i did not understand well how i can install it ,, it is mentioned in the web site that i should do the folloiwng :-
http://blog.stevensanderson.com/2010/12/17/using-51degreesmobi-foundation-for-accurate-mobile-browser-detection-on-aspnet-mvc-3/
asy! This does the following to your project:
but those steps are not clear for me ,, so is there another source of info on how to install 51degree.mobi?
XIII
All-Star
182690 Points
23458 Posts
ASPInsiders
Moderator
MVP
Re: How i can install 51Degree.mobi to MVC 3
Aug 10, 2011 09:26 AM|LINK
Hi,
it also appears under the Nuget gallery so if you have Nuget then you can simply add it to your project by using the following statement in the Package Manager Console:
Install-Package 51Degrees.mobi
http://nuget.org/List/Packages/51Degrees.mobi
Grz, Kris.
Interested in Azure, ASP.NET (MVC), jQuery, WCF, EF, MS SQL, ...
Keep the forums clean: report to the moderation team!
fareed faree...
Member
37 Points
17 Posts
Re: How i can install 51Degree.mobi to MVC 3
Aug 10, 2011 07:18 PM|LINK
Dear sirs,
i tried to open the Package Manager Console on my visual web developer 2010 from the "Tools" menu,, but it did not lunch ?
howi can fix this issue.
Fareed
XIII
All-Star
182690 Points
23458 Posts
ASPInsiders
Moderator
MVP
Re: How i can install 51Degree.mobi to MVC 3
Aug 10, 2011 07:21 PM|LINK
Hi,
Sorry, what do you mean by this?
If you can't get it to run I suggest you uninstall it and install the latest version. Then try again to open the console. Note that it takes a while for the powershell to start up before you can use it and type something in it.
Grz, Kris.
Interested in Azure, ASP.NET (MVC), jQuery, WCF, EF, MS SQL, ...
Keep the forums clean: report to the moderation team!
fareed faree...
Member
37 Points
17 Posts
Re: How i can install 51Degree.mobi to MVC 3
Aug 10, 2011 08:21 PM|LINK
i mean when i go to "Tools" menu "Library package manager" and i click on "Package Manager Console" nothing will be displayed
XIII
All-Star
182690 Points
23458 Posts
ASPInsiders
Moderator
MVP
Re: How i can install 51Degree.mobi to MVC 3
Aug 10, 2011 08:34 PM|LINK
Hi,
a pane should open in your IDE somewhere.
Another option is to right click on the project and select "Manage Nuget Packages". That opens a window where you can search for packages.
Grz, Kris.
Interested in Azure, ASP.NET (MVC), jQuery, WCF, EF, MS SQL, ...
Keep the forums clean: report to the moderation team!
fareed faree...
Member
37 Points
17 Posts
Re: How i can install 51Degree.mobi to MVC 3
Aug 10, 2011 11:07 PM|LINK
i go to "Manage Nuget Packages" , but there is not any place to write Install-Package 51Degrees.mobi commnad.!!!
BR
XIII
All-Star
182690 Points
23458 Posts
ASPInsiders
Moderator
MVP
Re: How i can install 51Degree.mobi to MVC 3
Aug 11, 2011 06:57 AM|LINK
Hi,
As I described before, there you have to search for the package. It's in the console window, which is something completely different, where you have to type install-package ...
Take a look at this getting stated with Nuget: http://nuget.codeplex.com/documentation?title=Getting%20Started.
Grz, Kris.
Interested in Azure, ASP.NET (MVC), jQuery, WCF, EF, MS SQL, ...
Keep the forums clean: report to the moderation team!
fareed faree...
Member
37 Points
17 Posts
Re: How i can install 51Degree.mobi to MVC 3
Aug 11, 2011 11:26 PM|LINK
i got totally confused on how to install the "51Degrees.mobi", i downloaded and installed the Nuget Official package source ,, which should include the 51Degree.mobi as i understood. but till now i can not find where i should write "PM> Install-Package 51Degrees.mobi" !!!
note :- The package manger consule is not working in my visula developer,,becuase when i tried to open it nothing will be displayed!!
BR
XIII
All-Star
182690 Points
23458 Posts
ASPInsiders
Moderator
MVP
Re: How i can install 51Degree.mobi to MVC 3
Aug 12, 2011 06:59 AM|LINK
Hi,
That goes in the package manager console.
And apparently that doesn't work for you so you can't write in there. You can also make use of the alternative way I talked about to make and showed a getting started link about which shows it in detail.
I suggest you uninstall Nuget and try installing it again. Then see if it works. Also, are you behind a proxy or something? That might cause problems as I found out at another client in the past.
Grz, Kris.
Interested in Azure, ASP.NET (MVC), jQuery, WCF, EF, MS SQL, ...
Keep the forums clean: report to the moderation team!