Cannot move forward when publishing Azure Web App - asp.net

I am using VS 2019 and web app is asp.net. I have signed into my Azure/Microsoft account through VS. When I tried to publish the app, I got the screenshot below. Somehow the "Next" button is greyed out so I cannot move forward to create my publish profile. By the way, I am learning Azure and using the free App Service Plan now.

You need to create App Service:
see: Publish your web app.

Here is what happened. To associate with Azure, a Microsoft account is linked to an Azure Directory. When I sign into Visual Studio with the Microsoft Account, the link is supposed to established automatically. But somehow it was not for my case. In Visual Studio, open "Personalization Account" page, click "Apply Filter" link, the next scene is where I can select which directory to be linked. I had only one directory but somehow it was not checked. Once I checked it, I am able to publish.

Related

Microsoft Project unable to establish a connection with Project Server 2016

I just built a Project Server 2016 and have connection troubles. Since this is a proof of concept, I did not use TLS. The URL is just http://xxxxxxxxxxxxx/sites/PWA I'm using the Project Permissions Mode.
I am testing with an unactivated copy of Project Professional 2013
I set the version in PWA Settings
My client computer is not in the same domain as my Project Server. I choose the domain\user name when starting MS Project:
Project does not prompt for a password. It immediately gives an error:
So next time, I choose work offline. Project opens and I check the Info page:
I click Connect to Server and it does. Still no password prompt.
However, I cannot open a project from the Project Server.
Meanwhile, I have no problems on PWA making, editing, saving, publishing, checking in, etc. I made a new project and set the permissions correctly.
When I try to open it in Project by clicking the icon on the web page,
I get the same error.
What am I missing?
I hate it when I discover my own dumb mistake an hour after posting a question.
Apparently, you must only use alphanumeric characters when you Add a Project Web Account in MS Project.
In the Info -> Manage Accounts -> Project Web Accounts dialog box, I deleted my Project Web accounts except "Computer"
I closed and restarted MS Project Professional
In the Info -> Manage Accounts -> Project Web Accounts dialog box, I added a new account but I only used letters in the Name field
I closed and restarted MS Project Professional
Logged into the new Project Web Account
Everything works now.
Apologies for wasting your time. Thanks for looking.

How do I publish a Web Forms Application from VS2017 to IIS from Intranet?

I have developed an ASP.NET Web Forms Application in Visual Studio 2017(CE). It's the project that I've developed for my college, as an objective to run it as an Intranet Application so that it could run on a IIS on a PC and people can access it over the Intranet. I've tried using the Web Deploy method, generated a Folder and addressed the IIS to the Published files of Visual Studio. But I don't get it to work, and I feel it's not the right way.
I've tried some research but haven't been able to figure out the right context. Can anyone please recommend me the right place of instructions? Or instruct here itself?
Go to Solution Explorer and select the project then right-click the project
Click the Publish menu item then left panel to publish screen will be open like below screen
Select the publish option as IIS, FTP, etc then click to publish button
The publish window will be open then select publish method as File System and type the Target location as http://localhost/Appname and click Next button.
Now, you can see the setting and file publishing options whatever you want to configure the options and click the Save button
Now you can find the application was published URL http://localhost/App in the output window

Deployment of web application in VS 2012 to my server

I have Web Application which I would like to deploy to my web server. I do not want to use Windows Azure, I have my own server. I even do not have my profile to publish to Azure. I believe it is OK to not have the profile and continue using VS2012. I would like have complied binary files and all my pages (master, aspx) together with my controls (ascx), js, css files and without code-behind files placed in my local folder. Then I plan to pack them and copy to my server through FTP. Sounds trivial. But...
When I hit right click over my Web Application project and then "Publish...", I have Publish Web window. The first step asks me if I want to publish to Windows Azure. In this case I have to provide my profile which I do not have. I do not need it. I just want to deploy to my local folder all except code-behind files. I cannot choose the next step which is "Connection". So I hit "Publish" button. And now, now I am stuck, because I have to provide my profile (see attached screenshot). Could you tell me how I can prepare my web application for deployment to my web server? Thank you.
If you are not planning on using Azure, simply ignore the statement at the top of that screen, it is only helpful if you are publishing to Azure.
To get past this step, click on the drop down and then click "New profile".
After that you will be taken through the rest of the wizard were you can setup your connection details etc.

Window azure and select cloud on the project types

I Try to deploy existing project in window azure.I googled lot and find some tutorials.I follow them.
http://www.developerfusion.com/article/119960/upgrade-your-aspnet-site-to-the-cloud/
http://netindonesia.net/blogs/wely/archive/2010/08/01/step-by-step-migrating-asp-net-application-to-windows-azure-part-1-preparing-the-application.aspx
I follow these links and download and install Windows Azure SDK/Tolls.But some thing I am missing here.I am with VS2010.Its my Add new web sites wizard.
but I am not find as above link says.
In the New Project dialog, select Visual C# > Cloud > Windows Azure Project
Where is my Cloud > Windows Azure Project option.May I missing some sdk to install or I am in totally wrong way? How to test that project locally ?
You can't use the "New Web Site" option. You need to create a "New Project" and create a Web Application. Once you have the Web Application Project created, you add another "New Project", then Cloud >> Windows Azure Cloud Service.
I'm not sure what you installed, but the posts you're looking at are over two years old. If you visit windowsazure.com, you'll see a link across the top called Develop. Click that, then go to .NET on the right. Then you'll see a few quick-links, one of them to Install the SDK. Choose that, and you'll see a choice for VS2010 or VS2012. Choose VS2010 and that should launch the right installer for you.
Once all that's done, fire up Visual Studio and you should have the cloud project.
Note: Within the .NET Develop page, there are also a few tutorials to get you started. Taking it to the next level, download the Windows Azure Training Kit, which has labs for just about every Windows Azure service.

Profiling ASP.NET websites with EQATEC Profiler

I'm searching for a free ASP.NET profiler, and I stumbled upon EQATEC Profiler for .NET, but I can't find any instructions on how to profile ASP.NET projects with it. Please post step-by-step instructions or a link with sufficient info.
I'm using Visual Studio 2008 Professional and .NET 3.5.
It looks like they have changed their user interface since Pavel's instructions were posted. Here are the instructions I wrote up for my team. They replace steps 4-8 in Pavel's post.
To profile an ASP.NET application using EQATEC, just select the application’s bin folder in the App Path setting.
Then, click the Build button at the bottom of the form.
Then, load your app and go to the page you want to profile. Go to the Run tab and click the Reset Counters button.
Then, do the action that you want to profile. When it’s done, click the Take Snapshot button.
When that is done, a snapshot report will appear in the bottom list. You can double-click on it to view it.
This should work for ASP.NET web projects:
Compile your project.
Start web application. You can right-click on some .aspx file in Visual Studio and select "View in Browser". (If you start your application later you risk overwriting profiled DLL.)
Start EQATEC Profiler.
On the Build tab browse to bin folder of your project.
Click “App options” button
Set output folder to $(AppDir) only.
Uncheck “Ordinary app”.
Click Build button.
Switch to your favourite browser. Navigate to the page you want to profile. You should get "Profiled app started" entry in Run tab in EQATEC Profiler.
Click "Take snapshot" button. A new entry should appear in "View snapshot reports" list. Select it and click View button.
Edit: Updated instructions according to comment.
From the EQATEC forums:
ASP.NET?
tracing asp.net web application
Profiling web application
You may need to get a compiled version of your site (is there a dll for the site in the bin folder or just the dependencies?).
The easiest way to do this is to publish it. (Just right hand click the site in Visual Studio). Then Pavel's answer will work just fine.

Resources