How add asmx class to project in Android Studio - asp.net

I want to add a soap_base web service to the Android project in an Android Studio for connecting to SQL Server.
In the Xamarin IDE that is simple:
Right-click in the project, select a service reference, put in a URL, and download a class file from the server, but in the Android Studio, I can not find that.

add EasyWSDl plugin in android Studio
create a package in main/java
right-click on package and select EseayWSDL-add web service
put asmx url

Related

'You do not have permission to view this directory or page.' is seen after deploying ReactJS app to Azure through VS Code

I have a React app on Visual Studio code which is referencing the Azure web app of my Asp.Net MVC (Web Api) application. The MVC application is a .NET Framework 4.7 project on Visual Studio 2017.
In simple words, My react app on visual studio code is consuming the azure web which was published successfully from my visual studio 2017 project. This React app works good on local host and is able to GET/POST details by accessing the azure web app.
In order to host this React app as an azure web app, I deployed it to a new azure web app through azure extensions from visual studio code (This was done in the same resource group where the mvc web app exist). But after the react app got deployed, I could'nt see any thing on my browser except the message - 'You do not have permission to view this directory or page'.
Please Note, In my react app, there was no web.config. I referenced this article (https://www.c-sharpcorner.com/article/crud-operations-in-reactjs-with-axios-using-web-api-and-sql-server/) to build the react app.
I would like to know - What is missing here ? Am I doing anything wrong with the deployment ? Any help will be much appreciated.
Here's what i did to solve my problem:
Created the production build by executing 'npm run build' command. A build folder got generated in the solution with some meta data files.
Referenced the build folder while deploying the react app to azure.
References used:
https://medium.com/#to_pe/deploying-create-react-app-on-microsoft-azure-c0f6686a4321

How to get xap file in Xamarin portable project?

I just created a Blank Xamarin Portable Project in VS2015 Enterprise.
But I can't get xap file for Window Phone 8.1.
My project name is ABP so I have only ABP.dll, ABP.pdb, ABP.WinPhone.build.appxrecipe, ABP.WinPhone.exe etc.
I want my client to run using xap file on his win phone.
Is there a way for this?
Portable Project is simply a Class Library that gives you a DLL. Its not an application. For that purpose you must create WinPhone application or Xamarin.Forms application(it will create a WinPhone application for you). Once you create WinPhone app, right click to project and select Store->Create App Package then follow the commands.

Debug ASP.NET web forms in full IIS

I'm running Visual Studio 2013 Ultimate on a Windows 8.1 (with Update 1) laptop, and I would like to debug an ASP.NET web forms project against IIS, which is installed on the local Windows 8.1 instance.
Previous versions of Visual Studio had an option to use IIS Express or full IIS, but I cannot find that option in the Project properties anymore.
How do I deploy & debug my ASP.NET web forms project in full IIS?
EDIT: When I right-click on my project, I see this:
And then if I click on "Properties Window" I see this:
This is one way to have your project available in IIS:
Press Ctrl+X, type inetmgr
or
Open your IIS Manager Application.
Expand the tree on the left.
Add WebSite
Give a name to the website and port
For file location provide the same file location were your project is.
Assuming your port number is 3000 just simply type http://localhost:3000 in your browser.
Now from Visual Studio go to:
file Open...
WebSite (you will see that IIS is available on the left).
Open your new web site
This will let you debug from IIS and any changes you make will be directly made on IIS as well.
I just double checked one of my local Web Forms applications locally running in Visual Studio 2013 Ultimate on Windows 8.1. The settings are still there. If you open the project properties for your Web Forms project, you should see the following:
After selecting Local IIS, setting a port, and saving, you should be walked through the process of configuring a Virtual Directory for your site (if one isn't already configured).
EDIT
After looking at your edit, it looks like you've created a Web Site Project rather than a Web Application Project. You can read about the various differences here:
Web Application Projects versus Web Site Projects in Visual Studio
If you haven't written any significant code yet, I'd suggest deleting the Web Site Project and creating a new Web Application Project. You'll then see the settings as described above.
If you really want to keep the Web Site Project, you'll have to configure the site in IIS and then open it in Visual Studio using the 'Open Web Site...' dialog (and then choosing Local IIS as the source):

How to make asp.net app run with visual studio server instead of IIS?

I have downloaded this blog engine
https://github.com/lelandrichardson/MiniBlog
I cannot run it within Visual Studio because it wants IIS : how to change this ?
If your project doesn't load in Visual Studio (it is greyed out), you need to manually edit the project file (MiniBlog.csproj) in a text editor. You just need to look for the UseIIS tag, and change its value to False:
<UseIIS>False</UseIIS>
When you do the above, Visual Studio should be able to load the project. It should now default to the Visual Studio web server.
Once you are able to load the project in Visual Studio, you can choose another web server, if you wish. You just need to right-click on the project in the tree view and then select Properties. From there, if you open the Web tab, you can choose the legacy Visual Studio Web Development Server, IIS Express (you may need to install this), or the Server version of IIS.
Just a note - I was unable to actually build the project that you linked to. There appear to be missing dlls, but that is out of the scope of this question.
try to add IIS Express 7.5 for visual studio http://www.microsoft.com/en-us/download/details.aspx?id=1038

how to deploy the project in asp.net web application

Have create the project in asp.net web application ,then add the dbml file and Create new folder name is (urlImages) for upload. its working in local visual studio ,
how to deploy the project?
thanking you
Right click on the web project and Publish it. Than upload the published files to webserver.
You can right-click the project, click on Publish and follow the instruction in the dialog box. There are several other options
Web Application Project Deployment Overview for Visual Studio and ASP.NET
VS 2010 Web Deployment - ScottGu

Resources