I want to know How to run MVC 4 Code in Sharepoint 2013?
I had small application which, I want to plug into sharepoint 2013.
Thanks in Advance.
Manoj Kalla
Assuming you have access to the front end web servers:
Copy / publish your MVC 4 app to all of the WFE servers (create a separate folder for it i.e. c:\wwwroot\MyMVCApp)
In IIS Manager create a new Application under your SharePoint web on each WFE (/MyMVCApp) and point it to the folder you previously published.
Make sure to set the APP Pool correctly and the Anonymous Authentication identity if needed.
Related
I have an existing ASP.NET app in IIS with domain: myapp.domain.com
I have a new .NET Core app I need to deploy. Is it possible to publish this app under that same subdomain and not affect the existing app? myapp.domain.com/newapp
IIS 10
Yes, you can simply add the output folder of the new app as a new application UNDER your current "Default Website". It will inherit Web.Config settings from the parent app, so be aware you may need to override these with a specific web.config for your new sub-app.
Also, as the other answer states, you may need to create a new Application Pool for your new app.
Continuing #cklimowski's answer, keep in mind that you need to specify a seperate application pool to your .net core app.
I need to move a Asp.Net Core Kestrel application to IIS. The Asp.Net core application uses many Integrated Security connection strings and also need to access many other resources. The account used to run the application has all the permissions.
Now I will need to host it in IIS. Is it a way to "run as" the Asp.Net core code as a different account instead of the system account "Domain\MachineName$"?
My legacy is application is developed using Sharepoint 2013, is there any way to have Power Point Service to shows BI stuffs in ASP.Net MVC application without Sharepoint.
any suggestions
No. That service is part of SharePoint and requires SharePoint Server.
It is , however, possible to connect your local PowerPoint to your database directly and have it generate data. You can then save that PowerPoint to a server and then use an iframe to point that page to the PowerPoint file.
I created a MVC 4 project using MS Visual Web Developer 2010 Express. It by default uses "SimpleMembership" and it connects to a database (A) on my local SQL Server. I ran the web project and registered a trial user, and it was successful. When I checked the database A with Management Studio, the user was there.
However, when I turned on debug and opened the ASP.NET Web Application Administration Web Tool. It showed User: 0. Obviously the Admin Tool did not check the database A. Then I was able to create another user via the Admin Tool. Surprisingly it was found added to the "aspnetdb.mdf" in "App_Data" folder of my project.
My questions are:
how I can make the Admin Tool connect to the database A on my SQL Server instead of the "aspnetdb.mdf" file as I don't want to store my user profiles in two separate places.
Why "aspnetdb.mdf" uses ASP.Net Membership instead of "SimpleMembership"?
Thanks!
The Web Application Administration Tool was developed for SimpleMembership's predecessor ASP.NET Membership. When Microsoft released SimpleMembership they never bothered to provide support for any admin tool; you have to create one yourself. Take a look at this QA which explains in more detail.
Be aware that Microsoft has dropped SimpleMembership in MVC 5 for ASP.NET Identity. ASP.NET Identity is a much better solution, but it still does not come with an admin tool. I would move to ASP.NET Identity if possible. Here is an article on how to migrate to ASP.NET Identity.
I'm working in a project like this : http://msmvps.com/blogs/theproblemsolver/archive/2009/12/23/rehosting-the-workflow-designer-in-wf4.aspx
Is it possible to upload this app in a sharepoint and executed it in sharepoint??
As far as I know SharePoint is still using the WF3 runtime and not the WF4 runtime. So no this won't work.
you will have to create a separate Webservice Application (with the WF) in .net 4 and then from SharePoint you call the webservice. From WF you can in turn integrate with Sharepoint through the Managed client object model.
Refer to this link for more information on the client model:
http://msdn.microsoft.com/en-us/library/ee857094.aspx