Downloaded and Installed MVC4 . Create Internet Application with default MVC4 site.I have Installed Foundation Framework by using the NuGet package that is available. It picks-up my classes from foundations css , but the in no visual changes in IE.The files has been added automatically and bundles added in my app after using NuGet.
Any one having same problem , or am I missing something.
MVC4 looks to be different monster to MVC3 .....
Related
I'm a newbie to asp.net core and using NuGet install bootstrap package firstime. However, after I installed this package on Visual Studio Mac, I can't find any css/js files in my solution folder.
I'm using Visual Studio Mac 2019 and created a web app using asp.net core.
I expect I can find css/js files in solution folder, or I can reference any parameters in my razor pages.
The default Excel Web Add-in template created by Visual Studio in a new Office Addins solution has two projects:
AppName: A manifest project, with only a XML file.
AppNameWeb: A .NET Framework 4.6.1 project with several template files.
I want to delete the .NET Framework project and use a brand new .NET Core project instead, that I just created in the same solution.
I went to the project reference dialog of AppName. I removed AppNameWeb included my .NET Core project, then I confirmed the changes.
Now I get this warning:
Project 'AppName.csproj' targets 'netcoreapp2.1'. It cannot be referenced by a project that targets '.NETFramework,Version=v4.6.1'.
I opened AppName project properties, but I don't have the option to change its target framework to .NET Core 2.1, it only lists .NET Framework 4.x.x
Question is: is it possible to change the target framework of a Office Addins project from .NET Framework to .NET Core? If it is not, how is the best way to work with Office Addins with ASP.NET Core?
Thanks!
Follow steps below for a workaround to achieve the same result:
Remove AppNameWeb and AppNameWeb Core projects reference from AppName
Specify Web Project of AppName project properties as (None)
Open AppName.xml, replace ~remoteAppUrl with AppNameWeb Core home address
Set SourceLocation with home address like
<DefaultSettings>
<SourceLocation DefaultValue="https://localhost:44382" />
</DefaultSettings>
Right-Click solution -> Properties -> Configure Multiple startup projects with AppName and AppNameWeb Core
Startup multiple project to check the running.
I created a new project with the DevExtreme ASP.Net Core Application template.
Then I changed the framework from .Net Core 1 to .Net Core 2.0
However when I try to build I get the following error.
Warning NU1701 Package 'System.Linq.Queryable 4.0.0' was restored using
'.NETFramework,Version=v4.6.1' instead of the project target framework
'.NETCoreApp,Version=v2.0'. . This package may not be fully compatible with your project.
This problem is similar to This question about Nu1701 However the package in question is DevExtreme.AspNet.Core The name of the package indicates that it is meant to work with Core.
Upgrade to the DevExtreme 17.2.2 Beta and use the DevExtreme 17.2 ASP.Net Core Application (.NET Core) template
I have an ASP.NET Core WEB API app that is using project.json and is under source control. My goal is to upgrade it completely as if I just started the project using the latest VS2017 ASP.NET Core 1.1 template.
How can I manually do this if project.json no longer exists.
I am new to monoDevelop 3.0.4.7 . In that there is no MVC4 template so,any one tell me how to get the template for developing mobile web application ?
While Mono 3.0 now includes the MVC4 stack, the release notes for MonoDevelop 3.0.4 only mention support for MVC2 & MVC3.
If you're using MonoDevelop then I'd recommend sticking with MVC3 for the time being.
I've not come across an MVC3 template for MonoDevelop yet so for my last project I created an MVC3 bare bones application in Visual Studio and then made the necessary adjustments to get it to run with MonoDevelop on my Mac.
There are a couple of pages here and here that have useful information for getting an MVC3 application running with MonoDevelop.