Can't run a very old ASP and flash project - c#

I come from JS world and have to run an old ASP project to see its structure.
But I can't understand what kind of framework have been used to create this.
Have tried to build it with dotnet but it's not recognized.
Here is the projects screenshot can some body recognize it and tell me how to run it locally ?

I would try opening this would Visual Studio. That does look like a typcial asp.net web forms proejct.
If you ahve a ".sln" file in the root folder, then you should be able to open this project with Visual Stuido. (just download 2019, or latest 2022).
You will almost for certain want to open this project with VS.
If there is no .sln file in the root folder, then choose from VS to open as web site.
So, there are two ways to open/use/develop these older asp.net applications. the existence of a .sln file tends to tip you off as to which method you need (and want) to open up this applcation with. But, yes, you need VS .net "IDE" and the built in designers to work on this.
So, from your screen shot, go up one folder - look for a .sln file. That's the project file you want to try and open with Visual Studio.
As noted, if no .sln, or no .prj file exists, then use the open as web site option in VS.

Looks like a WebForms project, not sure about the state of WebForms support for VSCode but Visual Studio Community should be able to run this. Try loading this project with Visual Studio ensuring you have ASP Web development work load installed.

Related

Where is the .ebextensions folder in .NET for AWS elastic beanstalk Linux

I am trying to upload a .NET application using visual studio 2019. This uploads, however, I need to make config changes in the .ebextensions folder. This is not showing up in visual studio. Where is the .ebextensions folder in my .NET application?
In Windows explorer
It would be in the root of your project. I don't think it's created by default, so if it isn't there you need to create it. See the details of adding it to a .NET project here.
If you are looking for it via the Visual Studio Solutions Explorer, it probably won't show up unless you enable Show All Files.
You can find this option here:
Show All Files button in VS 2019 sidebar

How to open/load asp.net downloaded projects in Visual Studio 2013 without .sln or .csproj file

I'm a beginner at asp.net. I've downloaded a few projects of asp.net but several of them don't contain the .sln file or the .csproj file to run them on MS Visual Studio 13.
Question is how can I open/load downloaded projects on Visual studio 2013 and modify to my own needs. I've tried but couldn't find anything relevant. Any youtube link/step by step guide will be appreciated. Thanks.
The .sln and .csproj files are necessary for VS to perform many actions because they specify important configuration info like compilation instructions, debug settings, etc.
If you need to build the projects using Visual Studio, then you're going to need those files. Since you don't have those presently, it stands to reason that you could create new ones. Create a new ASP.Net project in Visual Studio, select the options that best fit what you're trying to do, and then add the downloaded files to your new solution/projects.
EDIT: or, if you're opening a website, do as SouXin recommended in his answer.
If they don't. It's most probably means that they are web-site. To open them: In VS File->Open->Web Site (OR Shift-Alt-O)
BTW when you open as Web Site solution file will be created automatically.

WebMatrix static code analysis for Umbraco dot net app

I am conducting an audit for an app being programmed by another developer. It is a dot net app, mostly c#, but obviously contains html, css, js, and some angular. This product was written using the CMS Umbraco, which means I can't open it in Visual Studio and must use WebMatrix. I have to run a static code analysis, code violation checker, and quality metrics report on the product. What tools should I use to run this reports and how to I run them inside WebMatrix? Visual Studio already has code analysis built in, but I can't find anything built into WebMatrix for this.
Visual Studio solutions typically consist of a .sln file which may reference multiple project files (.csproj, .xproj...) but Visual Studio also supports opening Web projects from directories File > Open > Web Site... When exiting or Saving all VS will prompt you to create a new solution file for the Website making to quicker to open from VS next time.

One or more project was not loaded properly

After copying the project to another laptop/ PC, when I want to open the solution, VS2010 shows the error "One or more project was not loaded properly". I have tried running visual studio in admin mode but that did not solve the problem.
This is usually a result of an inconsistency in your solution or projects. Open the solution file in an external editor (such as notepad) and check that the path it has to the projects is available and did not change. There shouldn't be any absolute paths in the solution file.
Maybe because the project from where you copied was configured with IIS configurations and you are trying to run the project in visual studio's default environment.
you have to right click on your project and set as a start up project after that you have run your project,
I seem to have found unloaded project, after noticing there's one missing by manually counting and comparing it to the number of projects the solution explorer reported. It was deep inside another folder in the solution explorer that I never used and assumed that had nothing worthwhile.
It's a familiar issue. Looks like the project you are trying to open was created in higher version than what you have. If the project is in MVC, make sure you have installed MVC OR Make sure you have appropriate version of .NET installed in your system.
I work with NopCommerce and a couple of times I downloaded new version and got same error message. It goes away once I install the dependencies.
Because you tagged it ASP.NET make sure you have all the ASP.NET components installed. Those are not part of .net framework but might be necessary in your project.

Open an Umbraco web site using Visual Studio

I have a website hosted using Umbraco and I want to explore the website in Visual Studio to make changes to it. I would like to open the Code that is already hosted. Is there anyways to get to it ?. Thanks in advance
You can download the source code from the live hosting (assuming you have FTP access) and open it in Visual Studio to look at the files and make changes. Just open the folder with the files in that you downloaded as an existing website in Visual Studio and you'll be sorted.
However, it will depend on what you want to change. If you want to edit the actual page content, you'll need to do that via the CMS interface (as that's all stored in the database). If you want to edit the Templates, CSS, Javascript, XSLT Macros, Razor Scripts (if its running the latest version of Umbraco and is using Razor) etc, then you can edit all of those by logging into the CMS as an Administrator. Templates, CSS and Javascript can be edited from the "Settings" section of the CMS. Macros and more advanced stuff like data types can be edited from the "Developers" section of the CMS.
The likelihood is that your Umbraco application will have been deployed in it compiled state.
In this case, you can download it and then open it in VS using the "File > Open Existing Website" option.
This will give you the ability to alter files like the CSS, javascript, masterpages, xslt and usercontrols but it will not provide you with access the "inner workings" of the CMS since this will all be compiled.
It is very rare that you should need to change any of the core CMS code but if you wanted to look around as a learning exercise (highly recommended), then you can download the source code from here.
Also be aware that the version running your site will not necessarily be the version available for download. The last version of the webforms-based Umbraco is 4.7.1.1 however they have just release Version 5 which is based upon MVC3.
Edit:
Version 5 was shelved and is no longer available. 4.11.x was the last version to be made available before the core API was rewritten in PetaPoco in v6.
Visual Studio is just an IDE. You can open any file in it (within reason). I often drag files I want to work on into the visual studio window in order to open them.
Generating a project from the files is a different trick altogether and takes a lot more effort.
Try this question for how to do that.
Download the project template for Umbraco for visual studio 2010
goto tools -> Extension Manager then search for umbraco mvc in online gallery.
after the installation of template, you will be able to create umbraco MVC projects.

Categories