How to open project as a web application on "Visual studio For Mac Community" - visual-studio-community

Since I am new to ASP.net and trying to open a web application. but as I could see in Windows we get option as open as web application, In Mac I could not find it.
Please assist if anyone has faced same problem earlier

There is a link that explains asp.net project creation. here

Related

How to publish Asp.Net core MVC web application on Godaddy's shared web hosting

I have developed an asp.net core 2.1 web application with entity framework core. Now I would like to host the application on my Godaddy's shared web hosting account. I am trying this with FTP but it is not working. Does anyone has solution for this?
Is there any error message that you see? The following is steps to publish your application:
Please open your project with Visual Studio tool
On the Solution Explorer windows (which is normally located on the top right hand corner of the VS tool), right click your project and select Publish
Please kindly publish it to a local folder, such as C:\Project
Please just upload whatever files/folders you see on C:\Project to the server via FTP and your site will work fine.
Important NOTE:
If you are using Visual Studio 2015 or later version, the publishing step may look a bit different.
Please open your website project with Visual Studio 2015. They may have been a pre-set .NET version on your project.
Then, please go to the Solution Explorer, Right Click the project and select "Publish Web App" website. Please select "FTP" as the deployment method
Please hit Publish
You can also read this documentation http://windows2008hosting.asphostportal.com/post/Cheap-ASPNET-MVC-3-Hosting-ASPHostPortal-How-to-Deploy-an-ASPNET-MVC-3-App-to-Web-Hosting-with-5cbin-Deployment.aspx. I use this tutorial to deploy my previous MVC. :)
From what I found on GoDaddy forums, do correct me if I'm wrong, GoDaddy doesn't support .NET Core on shared hosting yet. I believe Plesk Onyx will support this (mine is still on Odin) and after a conversation with GoDaddy customer service, they don't have a date for the upgrade yet.

Develop an Azure Service Fabric Application with Visual Studio 2017 for Mac

my team is creating an Azure Service Fabric application using ASP.NET/Dotnet Core. Whenever I try to import the project into my Visual Studio 2017 for Mac I get the error
Error while trying to load the project '.../Project.sfproj: Unknown solution item type'
The solution contains several projects, some with a csproj (which I can open just fine), and some with a sfproj, that cause the problems. I can't even browse them in VS2017:
I can run msbuild from the shell (get some Compiler errors, but that's fine), but cannot manage to load the project into my IDE. I guess I'm missing the Service Fabric SDK, but that is not available for mac afaik. I managed to pull some jars from the vagrant image, as described here but that doesn't help me in a ASP.NET/Dotnet Core application.
Unfortunately, this feature is currently not available. If anyone wants it, vote for it on the visual studio user voice page.

How to add a service reference to Xamarin PCL on VisualStudio 2017

I'm working on a simple Xamarin cross-platform mobile application that needs to connect to a WEB Service. There are a few posts (see here, here and here) saying that Visual Studio doesn't support Service References for Windows Phone 8.1 and that I must remove such target from the project.
Unfortunately I don't seem to be able to do so under VS2017 Community (Release 15.1 26403.7): see image Visual Studio 2017 doesn't show any Windows 8.1 Target. "Windows Phone 8.1" is indeed in the targets but when I click on "Change" it doesn't appear... so I can't remove it.
I know I can add a reference to each platform-specific project (Android or iOS) but the whole point is to rely on a single common service reference and avoid time-consuming interfaces.
Thank you for your help!
Andrej
All my apologies, I have found the answer - like, 45 seconds after posting - by putting together this post and this post:
Manually edit the portable .csproj
In the "TargetFrameworkProfile" enter "Profile78"
VS2017 will reload the project and you will now be able to add a Service Reference.

ASP.NET Web API 2 on Visual Studio for Mac 2017 RC

I am new to Mac and was trying to build a Web API2 with Visual Studio 2017 for Mac. I am not able to see Web API 2 packages (Controller option is missing, I am able to create a MVC project but even when I select Empty Web Application -> Web API only)
I do not see API Controller and all Web API 2 options. Is there way to find and use these?
While doing R&D I found that by default VS for Mac has your API project opened with Mono framework, when you go to Project -> Options (Properties) -> General ...you can change framework as .Net 4.x (upto 4.6.1) available as of now. Once done, you would be able to happily developer web API 2..
Posted here so it can be helpful for someone looking for same options :)

how to install framework SDK(.NETCore, version=v5)

I recently installed Visual Studio 2015 Community for universal app development, but when ever I create a new project and select the universal app under windows the error pops up saying:
"One or more projects requires a framework SDK(.NETCore v=5.00) that
is either not installed or is included as part of a future update to
visual studio"
In that error box there is a hyperlink mentioned to download the update but it goes right to the Microsoft website's home page.
I read some where to install the .NETCore via nuget package manager console. I have done that it was successful, but again whenever I create a new project it says to install the Framework SDk(.NETCore v5).
I haven't found any solution on this particular error but their were some tutorials to install the .NETCore but they didn't helped me out.
Kindly tell me how to get rid of this, I have wasted almost my 5 days trying to fix this issue.
i actually fixed that issue by First Modifying the setup of vs and their unchecking the Window Universal App development option. it means uninstalling the universal Window App development from visual studio then again modifying the setup i re checked the universal window App development option and update it. that fixed my issue.
You have to install the "Tools and Windows SDK."

Resources