How i can install 51Degree.mobi to MVC 3 http://forums.asp.net/t/1709091.aspx/1?How+i+can+install+51Degree+mobi+to+MVC+3+Tue, 10 Jan 2012 19:00:25 -050017090914547439http://forums.asp.net/p/1709091/4547439.aspx/1?How+i+can+install+51Degree+mobi+to+MVC+3+How i can install 51Degree.mobi to MVC 3 <p>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 :-</p> <p>http://blog.stevensanderson.com/2010/12/17/using-51degreesmobi-foundation-for-accurate-mobile-browser-detection-on-aspnet-mvc-3/</p> <p><em>asy! This does the following to your project:</em></p> <ul> <li><em>Adds a reference to FiftyOne.Foundation.dll, the assembly containing the 51Degrees logic</em> </li><li><em>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</em> </li><li><em>Adds a recent copy of the WURFL device list to your project at ~/App_Data/wurfl.xml.gz</em> </li><li><em>Adds a folder, ~/Mobile/ containing a Web Form that displays information about the device. <strong>We dont want this in an ASP.NET MVC application just delete the ~/Mobile folder that it added</strong>.</em> </li><li><em>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 were just changing the master page, we dont want this redirection to happen. <strong>Disable it by modifying Web.config</strong>: Find the &lt;redirect&gt; element inside &lt;fiftyOne&gt;, and comment it out or delete it.</em> </li></ul> <p><strong>but those steps are not clear for me ,, so is there another source of info on how to install 51degree.mobi?</strong></p> <p></p> 2011-08-10T07:35:13-04:004547673http://forums.asp.net/p/1709091/4547673.aspx/1?Re+How+i+can+install+51Degree+mobi+to+MVC+3+Re: How i can install 51Degree.mobi to MVC 3 <p>Hi,</p> <p>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:</p> <p><strong>Install-Package 51Degrees.mobi</strong></p> <p><a href="http://nuget.org/List/Packages/51Degrees.mobi">http://nuget.org/List/Packages/51Degrees.mobi</a></p> <p>Grz, Kris.</p> <p>&nbsp;</p> 2011-08-10T09:26:46-04:004548575http://forums.asp.net/p/1709091/4548575.aspx/1?Re+How+i+can+install+51Degree+mobi+to+MVC+3+Re: How i can install 51Degree.mobi to MVC 3 <p>Dear sirs,</p> <p>i tried to open the Package Manager Console on my visual web developer 2010 from the &quot;Tools&quot; menu,, but it did not lunch ?</p> <p>howi can fix this issue.</p> <p>Fareed<br> <br> </p> 2011-08-10T19:18:52-04:004548578http://forums.asp.net/p/1709091/4548578.aspx/1?Re+How+i+can+install+51Degree+mobi+to+MVC+3+Re: How i can install 51Degree.mobi to MVC 3 <p>Hi,</p> <p></p> <blockquote><span class="icon-blockquote"></span> <h4>fareed fareeed</h4> but it did not lunch ?</blockquote> <p></p> <p>Sorry, what do you mean by this?</p> <p>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.</p> <p>Grz, Kris.</p> 2011-08-10T19:21:03-04:004548628http://forums.asp.net/p/1709091/4548628.aspx/1?Re+How+i+can+install+51Degree+mobi+to+MVC+3+Re: How i can install 51Degree.mobi to MVC 3 <p>i mean when i go to &quot;Tools&quot; menu &quot;Library package manager&quot; and i click on &quot;Package Manager Console&quot; nothing will be displayed</p> 2011-08-10T20:21:10-04:004548641http://forums.asp.net/p/1709091/4548641.aspx/1?Re+How+i+can+install+51Degree+mobi+to+MVC+3+Re: How i can install 51Degree.mobi to MVC 3 <p>Hi,</p> <p>a pane should open in your IDE somewhere.</p> <p>Another option is to right click on the project and select &quot;Manage Nuget Packages&quot;. That opens a window where you can search for packages.</p> <p>Grz, Kris.</p> 2011-08-10T20:34:30-04:004548745http://forums.asp.net/p/1709091/4548745.aspx/1?Re+How+i+can+install+51Degree+mobi+to+MVC+3+Re: How i can install 51Degree.mobi to MVC 3 <p>i go to &quot;Manage Nuget Packages&quot; , but there is not any place to write <strong> Install-Package 51Degrees.mobi commnad.!!!</strong></p> <p>BR<strong></strong></p> 2011-08-10T23:07:12-04:004549253http://forums.asp.net/p/1709091/4549253.aspx/1?Re+How+i+can+install+51Degree+mobi+to+MVC+3+Re: How i can install 51Degree.mobi to MVC 3 <p>Hi,</p> <p></p> <blockquote><span class="icon-blockquote"></span> <h4>fareed fareeed</h4> Manage Nuget Packages</blockquote> <p></p> <p>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 ...</p> <p>Take a look at this getting stated with Nuget: <a href="http://nuget.codeplex.com/documentation?title=Getting%20Started"> http://nuget.codeplex.com/documentation?title=Getting%20Started.</a></p> <p>Grz, Kris.</p> <p>&nbsp;</p> <p>&nbsp;</p> 2011-08-11T06:57:24-04:004550697http://forums.asp.net/p/1709091/4550697.aspx/1?Re+How+i+can+install+51Degree+mobi+to+MVC+3+Re: How i can install 51Degree.mobi to MVC 3 <p>i got totally confused on how to install the &quot;51Degrees.mobi&quot;, i downloaded&nbsp; 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 &quot;PM&gt; Install-Package 51Degrees.mobi&quot; !!!</p> <p>note :- The package manger consule is not working in my visula developer,,becuase when i tried to open it nothing will be displayed!!</p> <p>BR</p> 2011-08-11T23:26:36-04:004551134http://forums.asp.net/p/1709091/4551134.aspx/1?Re+How+i+can+install+51Degree+mobi+to+MVC+3+Re: How i can install 51Degree.mobi to MVC 3 <p>Hi,</p> <p></p> <blockquote><span class="icon-blockquote"></span> <h4>fareed fareeed</h4> Install-Package 51Degrees.mobi&quot;</blockquote> <p></p> <p>That goes in the package manager console.</p> <p></p> <blockquote><span class="icon-blockquote"></span> <h4>fareed fareeed</h4> The package manger consule is not working in my visula developer</blockquote> <p></p> <p>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.</p> <p>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.</p> <p>Grz, Kris.</p> 2011-08-12T06:59:09-04:004775822http://forums.asp.net/p/1709091/4775822.aspx/1?Re+How+i+can+install+51Degree+mobi+to+MVC+3+Re: How i can install 51Degree.mobi to MVC 3 <p>FYI - We've released <a href="http://51degrees.mobi/Products/DeviceData.aspx" target="_self"> a major upgrade to 51Degrees.mobi</a> and are not aware of any issues with MVC. The device data is embedded into the assembly further reducing the oppurtunity for errors to occur.</p> <p>Please post on our <a href="http://51degrees.mobi/Support/Forum.aspx" target="_self"> forums</a> if you have any more questions to 51Degrees.mobi.</p> <p>Thanks,</p> <p>James - Founder - 51Degrees.mobi</p> 2012-01-10T19:00:25-05:00