How to switch from ASP.Net to classic ASP for a new project

How to switch from ASP.Net to classic ASP; I was assigned to a new project that is in classic ASP, and I never worked on a classic ASP, but had access to .NET.

+4
source share
6 answers

You need to get a new job immediately. :) If you do not convert a small asp-application to asp.net? In this case, this may help. And even then I will still be considering a new job.

I would spend half a day researching why ASP.NET is an improvement on classic asp. Also indicate your own skills, which are ASP.NET, and therefore why the ASP.NET project should be developed faster.

Submit your research (even if it is just by email) to your employer. If they still want to use the classic asp for new projects, take your ASP.NET skills elsewhere.

I saw how good people send old roads, the results for them are never good.

+7
source

Firstly, I agree with the feelings of Joe R and Azamsharp. The benefits of using something more modern are innumerable. But I also know that this is completely useless, because you are just trying to complete the task that was assigned to you.

Two tips: I find http://www.devguru.com a great reference site. It has detailed information about asp and vbscript, and it is well formatted and easy to use.

Another tip is to spend time (it won’t take much time) so that you can go through your classic asp pages using the current version of Visual Studio. In IIS configuration → tab "Home" → "Configuration" → "Debug" → enable debugging on the server side asp. This will allow you to insert a breakpoint in an asp script (just a statement saying "stop"), which will give you a request to call the VS debugger. You will also need to configure the local website to work under your network name instead of the default anonymous user.

This greatly reduces the pain of working in classic asp when you have no other choice.

+3
source

Language is an instrument, not a way of life. Ignore fan comments. Work is work, attach your suggestions, if applicable, but if you are a programmer, then a program. If you were a mechanic who was looking for work, and someone wanted to hire you, working for bmw, and gave you the opportunity to study, but you are used to mercedes, would you refuse? Asp classic is easy to learn and you can learn the whole language, unlike * .net. Just read the vbscript reference and then explore the asp collections. A little for them, but they will do their job, and this is important for the client.

+2
source

Why in the world does your employer want to do this? You must ask him this question. It is similar to the fact that we refuse all cars and return to those carts that the horses pull out.

+1
source

Find the answer to the following questions:

  • Are you starting from scratch (unlikely?) Or is it a matter of small changes?

  • Are you stuck in VBScript encoding or can you choose JScript?

  • Will there be a lot of backend / business logic?

  • Will there be many forms with database storage requirements?

0
source

Classic ASP is a very simple scripting language that is good and bad. As far as I know, there is no event handling. When the classic ASP page loads, it executes the code in a straightforward linear style. You can have functions in VBScript to help with your code / logic. But there are no pageloads or server-side (postback) methods / functions of onclick.

You will have html forms that when submitted to an ASP page. This page will execute the code to process the form data and complete the necessary tasks.

Classic ASP is very simple and simple, and for me it’s lovely. What you see is what you get.

An excellent resource that I use to search for various types of information in VBScript is on the W3Schools website:

http://www.w3schools.com/vbscript/

0
source

Source: https://habr.com/ru/post/1309561/


All Articles