F# web development - Project - asp.net

I hadn't used f# before so I installed vs express and then f# package.
After reboot when I went back on vs to create a f# web project like you do with c# that option wasn't there with f#.
Is there any reason that f# can't do this yet is it on the way?
Edit: from the latest f# newsletter here is an article on the f# web project told being developed https://visualfsharp.codeplex.com/discussions/541207

Currently (2017), you can optionally install F# templates via the Visual Studio 2017 installer (under the Web group), .NET core command line, or VS for Mac. Please update your question if this is still an issue.

Related

Which version of Visual studio supports old classic ASP Project

Which version of Visual Studio can be used to open a project which is built as ASP Web project
I have Community edition 2019 Does this support ASP projects?
I know these days no one is using ASP for building web apps The purpose is to maintain an existing ASP solution for a couple of more months 9If any bug fix requests from the client comes ) and start to build a new project using the latest version of Microsoft technologies
Visual Studio
Most versions of Visual Studio support editing Classic ASP code, couple of things to keep in mind though.
Frontpage Server Extensions is no longer supported, the best approach is to use a mapped drive or better yet store the code in source control (Git, SVN etc.) and work with the code locally (can bind to a local instance of IIS).
The IDE can be quite cumbersome for working with Classic ASP as it's designed for more modern technologies.
It also has sophisticated debugging through the IDE via the "Attach to process" which will work with Classic ASP running in IIS as long as the web application has been configured correctly for debugging. See How do you debug classic ASP?.
Visual Studio Code
Another option is Visual Studio Code which is a free IDE built on the principle of open source projects for cross-platform. It's becoming a popular free IDE for many developers rivalling the likes of Atom, Sublime etc.
It's lightweight and extensible through extensions, there are already some useful extensions for Classic ASP including this one;
Name: Classic ASP Syntaxes and Snippets
Description: Classic ASP Language Support and Snippets from tmBundle
Publisher: Jintae Joo
It also has built-in support for popular source control solutions like Git and more powerful available through the extension marketplace that is built into the IDE. If you do use Git would recommend installing the GitLens extension.
Every version of visual studio since I started with 2010 (was there something before it?) handles Classic ASP just fine. I'm on VS2019 right now.
I even have a project which is a combo Classic ASP, Webform, and MVC all in one project, with some session sharing, and I routinely code and debug in all. The only limitation is that when you debug, you have to choose whether you're debugging Managed code or "script".
With each I "attach to process" and choose which code I want to debug. Classic ASP debugging is fantastic, and I can't believe more people don't do it. I see basic questions on here which would easily be fixed with standard debugging techniques (settings breakpoints, evaluating variables).
The ONLY thing which isn't supported is code formatting inside <% %> blocks. If I ever get some time maybe I'll make an addon for it.

IDEs version compatibility with ASP.NET Core

I am not able to find which IDEs are compatible with Asp.NET Core.
I want to develop an app and I donĀ“t know which are the possibilities.
Someone can list the compatible IDEs versions? Or some place where they are listed?
I am specially interested in Visual Studio versions
Visual Studio 2017. The Community edition is fully functional and free: Visual Studio 2017 Community Download
Visual Studio Code will also work and is cross platform. You can download it from here: VS Code Download
JetBrain's Rider will also work with ASP.NET Core: JetBrain's Rider, though it is not free.
Here's where MS tells you how to get started and what IDE you should use. Notice that the link to D/L the IDE takes you to a download of VS 2017 Community. This is the closest thing to an official "here's what's supported" you're going to get. .NET Core Getting Started.

How do you run Visual Studio 2017 ASP.NET Core projects on Raspberry Pi?

I am looking to run a new .NET Core ASP.NET MVC project on a raspberry pi. I've followed various blogs such as Scott Hanselman's example here. I can run the sample projects included with the ASP.NET repository as well. However, the new projects generated with Visual Studio no longer include the project.json file which is required for the above tutorials and all other documentation I've been able to find.
Since these project.json files are no longer a thing in new .NET Core projects what are you supposed to do to compile and run your code on ARM processors? Presumably support for these platforms is not being dropped, and though support itself was never actually official to begin with, breaking it seems... off.
How do I build a Visual Studio 2017 project on a Raspberry PI? Kestrel is expecting a project.json file which does not exist and dotnet and other .NET Core tools aren't available. How do I build the .csproj file I do have?
It's not officially supported yet, but you can have a look at
https://carlos.mendible.com/2017/03/21/step-by-step-running-aspnet-core-on-raspberry-pi/
http://www.devvy.nl/?p=170
Their approach is command-line based, but apart from the basic setup (creating the project from the template) and the deployment, you can still use VS2017 to edit the code.
Update: also have a look at https://jeremylindsayni.wordpress.com/2017/04/22/hosting-a-net-core-2-web-api-instance-on-the-raspberry-pi-3/ and and its source code at https://github.com/jeremylindsayni/RaspberryPi.WebApi/ for Powershell deployment and management scripts to Raspberry Pi (for windows IoT Core)

Compiling ASP.NET

I'm compiling ASP.NET code for the first time ever and I'm stumped.
I downloaded MINGW-Get and just finished installing it. The client gave me the source code and I found a file called RSConfig.exe.
So I assumed that was the config file, ran it, and then tried "make" but got the error
No targets specified and no makefile found. Stop
Any idea what I'm supposed to do? I don't see anything that would resemble a makefile in the source code.
Thanks in advance!
Do yourself a favour and install Visual Studio Express:
http://www.microsoft.com/visualstudio/en-us/products/2010-editions/express
It makes development easier and fast
It sounds like you might want to get familiar with the background concepts around asp.net and it's defacto development environment Visual Studio (there are many versions of visual studio).
As Andrei recommends, using Visual Studio Express is a good free way of getting started. The version most suited for web development is Visual Web Developer Express.
Attempting to compile .net code from a toolset such as MinGW isn't a typical route for using asp.net, however I've not used MinGW before and not sure it's possible to compile .net code from it.... Although it is perfectly possible to compile .net code from the command line (using the .net framework sdk) , I certainly wouldn't recommend it if you are getting started.
I'm going to make a guess that it is an ASP.net web forms project, it being the most prolific asp.net project type at the moment.
This official asp.net site http://www.asp.net/web-forms will guide you through what web forms are and how to get the development environment setup. Having this sort of background will aid you in solving your particular situation.

If I build a web application in ASP.NET, am I married to Visual Studio?

Doesn't Visual Studio generate all kinds of things when you build asp.net websites? I haven't used it in a while but back in webforms with a the dal and a bll, VS generated xml files and other things (don't remember what). And, while I technically could use notepad to fix it, VS seemed to be the only way to make sure things worked right.
How about today with MVC or something else asp.net? Am I tied to Visual Studio forever if I want to build websites? I liked in PHP that I can open up a file and it be simple to change things and it just works.
I am not knocking Visual Studio. It is a great product, but for those in my group that do not use it, it is a learning curve. Not asking for why asp.net is better than php or vice versa, just about visual studio.
EDIT: Is Visual Studio the BEST way to build asp.net projects?
You can use MonoDevelop, Webmatrix, Visual Studio Express but i suggest SharpDevelop, its open source.
sharpDevelop (short for SharpDevelop) is a free IDE for C#, VB.NET and Boo projects on Microsoft's .NET platform. It is open-source, and you can download both sourcecode and executables from this site. In addition, you can find the latest information and changes on #develop, as well as get in touch with the team in the forum.
More Information
SharpDevelop Website
MonoDevelop
Webmatrix
Visual Studio Express
No, you can build with MSBuild from command line, just simple msbuild.exe app.sln
You can also use MonoDevelop, which will run on Windows/Mac/Linux.
You could use Microsoft WebMatrix, which is free and aims to simplify the web development process. Another alternative is MonoDevelop, which is an open source IDE for multiple platforms.

Resources