AppHarbor and Xml Documentation - asp.net-mvc

I'm getting started to use AppHarbor with a existing application.
But I'm stuck in a problem.
I'm using auto generate documentation for my asp.net MVC(5.2.2) and Web Api(5.2.0) application.
The version of the help page is 5.2.2 and the description about how to use is on the link: http://www.asp.net/web-api/overview/creating-web-apis/creating-api-help-pages
The Help Pages uses a XML file that is generated on the build on the location "~\App_Data\XmlDocument.xml".
But the appHarbor don't generate or deploy this file so anyone could give me a tip?
Thanks a lot,
Bruno
(sorry about my english)

I had the same issue, turned out I had enabled xmldoc just for Debug configuration, while AppHarbor was using Release.

Related

Grid.Mvc missing documentation

Looking to implement Grid.Mvc in my MVC5 application however the documentation links on the project web site - http://gridmvc.codeplex.com/ dont appear to be working...be looking online and cant seem to find any reference to it.
There are some wiki links on https://github.com/leniel/Grid.Mvc/wiki however they do not seem to be complete...
Anyone manage to find a copy?
cheers
That version looks to be very old and no longer maintained.
Why not use a newer type of MVC Grid. We use this one
The documentation is available here
If you go to that archived CodePlex site, you can download the project archive, and there is a wiki/Render folder containing all the html pages with documentation.
Here's the link to the CodePlex site: https://archive.codeplex.com/?p=gridmvc
And the direct link to the archive download: https://codeplexarchive.blob.core.windows.net/archive/projects/gridmvc/gridmvc.zip
I've found this link:
https://archive.org/details/sylirana_ms_codeplex_zips
You have to go to the TARS folder and you'll find the right link into mscodeplex-g-3.tar or, for short:
https://archive.org/download/sylirana_ms_codeplex_zips/tars/mscodeplex-g-3.tar/.%2Fgridmvc.zip
Bye

Razor views not generating html after deploying Umbraco 7.2 in IIS 7

I am new to Umbraco, so I started creating a site to play a bit with it. While I had my site running on IIS express (either from VS or WebMatrix) everything worked fine. After deploying the site to IIS 7, the razor views of the front end are display in plain text, meaning that I actually see Razor syntax in the browser. Umbraco back office is working perfect though, except when I hit preview, in that case I get the plain Razor syntax again. I then try to deploy a simple new MVC project to IIS and the Razor engine worked just fine, so I guess is not a problem in IIS but in Umbraco configuration. Is there any configuration tweak I need to take care in Umbraco configuration to solve this problem? Thanks in advance for the help.
I also tried to deploy it in the IIS of my local development machine (the same in which it runs OK in IIS-express) which has the right framework and everything and I got the same cshtml display in the browser.
After struggling a bit more with the problem I found the issue causing this behavior. After installing the starter kit a lot of files are generated in the folder and subfolders of the solution. In order to publish the solution to generate the contents of your website the VS project needs to have all these files included as project files. I found out that some views were excluded of the project and thus not being generated when publishing. I included the missing views and double check that all important files were part of the project and problem solved.

SiteMapProvider doesn't work on the server

I'm working with ASP.NET MVC and I use DevExpress.
I created a menu with MvcSiteMapProvider. It works just as I want while debugging. But when I deploy it to the server it just prints the Strings from the Xml-File.
I checked the File-System of the server and it says that everything needed is deployed. (The Package & the xml-File).
Does somebody know what I forgot?
Or what I do wrong?
Thanks a lot :)
I suspect that you haven't deployed your HTML helper templates. Be sure you copy over the contents of the /Views/Shared/DisplayTemplates/ directory to your server.

Recaptcha for .NET MVC having more trouble with SSL

I'm attempting to get Recaptcha for .NET working with ASP.NET MVC 4.0 on an https site that is using SSL. I've been reading up on it and the problem seems prolific, but I'm having a hard time finding a solution.
I've seen this related topic here Stackoverflow Question and it did not solve the problem. I am following the documentation here : RecaptchaNET Documentation
I have made an ad-hoc solution work by running the page in non HTTPS and just copying and pasting the raw HTML code, and changing the various URLS. But I'd like to make this work with the actual HTML helper. Can anyone help? Has this changed since that original topic?
There are a few posts about this out there for the change google made to the api. Basically, RecaptchaNET wasn't supporting google's latest api endpoints for this.
If you check your version, this is fixed in version 1.3.
Try downloading the latest version from CodePlex and using that dll.
or the nuget here.

My Twitter api is not working suddenly

I have a web application which uses twitter api. It was working fine.But suddenly it stopped work. I started googling & came to know about that twitter upgraded their api. So I need to use the library which supports v1.1
Have anybody worked with v1.1 library please help me
Thanks in advance.
Take a look at this project on GitHub. Don't be confused by the title - it has been updated since Twitter's API update to 1.1.
The jQuery plugin on the page has been re-purposed to be a Rendering engine, i.e. it helps with rendering your feeds.
The important part, however is in the "Server-Side Examples and Setup" directory. Go there, read and follow the directions in the SETUP_INSTRUCTIONS document. When you are done, if you are using PHP, use the file in the "Plug_And_Play" directory as a start point. If you are using C#, you can use this library. It is still under development, but it is updated regularly and mimics the Twitter API's specifications as closely as possible.
P.S. I am the author of both of those projects, so if you need any help, let me know. Good luck! :)

Resources