IIS - Build application without Visual Studio [closed] - c#

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I was recently given the source files for a Web Forms applications. All the files, folders, ASPX, XML, cs and other source code files were present. Except, there were no Visual Studio solution or project files.
Just the source files.
I was asked to modify and test the application with a text editor (notepad) and use IIS 7.0 to build and test the application.
How is this possible?

There are 2 methods of website creation in Visual Studio, Web Application and Web Site. Refer to this link.
For your case, the project must be created using the Web Site method. This allows the site to be compiled on-the-fly, so you can just edit the source code with a text editor.

Related

How can I compile a C# code if my project is split into several source files? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 4 years ago.
Improve this question
I wrote a simple two-class project in C# and as I would do in Java I split the classes into two separate source files. When I try to run the source file with main, the compiler does not find the other file. What should I include to make it work?
I have one file with the class main and another file with a class Foo.cs.
They are in the same namespace
A good start would be to use an IDE like Visual Studio (The community edition is free) and it can be downloaded from Microsoft.
Create a new solution and project
Import the files (for VS, right click --> Add --> Existing item.
Compile the solution with the IDE

How to build android and ios application using existing ASP.net console application [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I want to build android and iOS application using existing ASP.net console application. Below are my folder structure. My project is build with ASP.net and Angular 4. In my project app.ColorSelector is a startup project it contains the angular code.
Inside color selector folder.
is there any way to build the android and iOS.
Take a look at PhoneGap: https://phonegap.com/
That's one of the technologies that lets you build a cross platform app that hosts a "web view", which is essentially a webpage within a native app-shell. That way you can leverage existing code. Of course, you may need to make few adjustments, but it should theoretically work.

How to make the program run in .exe mode explained below [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I just have written a code in C# its a web browser using Visual Studio 2015
How do i make it compiled to .exe file and etc, like chrome mozilla etc.
Help appriciated.
Assuming you set up your project correctly in VS, it's Ctrl-Shft-B to compile. The exe / dll files should end up wherever specified by your Build Output directory. To learn about/change this see Change Build Output Directory.

Consuming my custom WCF LOB adapter [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
My question is: Why is the consuming wcf adapter dialog is not updated, when I change my code and build new dll and put it into the GAC?
Details: I am developing my custom wcf lob adapter for Biztalk server 2013 r2. I have implemented needed interfaces and IMetadataBrowseHandler, then built it and put it into the GAC.
When consuming it in a Biztalk project, I can see my results when going through the "Add Generated Items=>ConsumeAdapterService". I change my code, so I must see new nodes in the tree but I did not see any new item until I restart Visual Studio.
Here is the picture of the dialog:
The first time your Visual Studio loads the DLL from the local GAC. The second time (after you have updated it), the DLL is already part of your application domain so it will not be updated unless you restart Visual Studio.
This is the default behavior which is pretty much standard within .NET.
You cannot say to Visual Studio something in the line of 'reload DLL from GAC', so you need to restart it manually.

See Values Passed To Page [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 7 years ago.
Improve this question
For our production server we do not actually copy over the Visual Studio .sln file so I can't "launch" the site for debugging from our production server. In a totally different application I am launching an .aspx page and attempting to pass variables from the source program to my .aspx page. W/O the .sln file from Visual Studio being copied over how can I debug and step through my syntax to see if the variables are actually being passed?
It's a production environment. No development and/or debugging tools shoud ever be installed into a production environment.
What you want to do is:
Test your code properly.
Add logging.
In case of an issue encountered in the production environment, inspect log files.

Categories