Good day,
i am having trouble deploying a web part and application page in a wsp package.
I have developed a custom web part and the solution has a application page. When using Visual studio to deploy the solution, both are deployed, but then i package it and try deploy it using powershell the application page doesnt show up in the /_layouts page.
Is there some property i have to set so the application page can be deployed or am i missing something?!
Where do i have to specify that the application page should be included in the wsp?
Related
So I made a Net Core Web app project with razor pages and javascript files, as you can see on the right of the first screenshot, but I cannot seem to publish it as a web app, only console app or windows application.
For instance, when I publish it to folder, it does not even publish my razor pages, no index.cshtml at all.
Anyone ran into this issue before?
Project properties screenshot
Published folder
Inside wwwroot folder
Razor pages .cshtml files will be embedded into the web.config file after publishing.
It seems like you are using a regular Linux FTP. Make sure you are using a windows server to publish your app on. Net Core does not work on Linux servers unless you install the Net Core runtime on the server.
I'm using SharePoint 2010 and I have developed webparts at visual studio 2010. I'm already using WSP to deploy my web application into server, but still should create and add the webpart manually through SharePoint site. Is there any way that we can deploy the application and automatically create and add all webparts into the site?
Generally web parts are added to pages using features. Basically you create one site collection feature to deploy web part files to web part gallery and web scope feature which adds this web parts to pages (for example default site page).
I've copied Asp.Net MVC3 application from another source to my development machine.
Now I want to run application, but when I run application the browser show me project directory content instead of application main page.
I suppose a have some mistakes in IIS configuration, but I don't know what is incorrect.
So, what is wrong?
UPD:I did found that "Use Local IIS Web Server" radiobutton in settings window is checked (instead default "Use Visual Studio Development Server"). Мay be this option affects?
Did you configure the folder in IIS as an Application? Sounds to me that you've just cloned a folder and expect it to 'just work'.
Right-click on the folder in IIS and select 'Convert to Application'. On the dialog that appears you will need to change the app pool to 'ASP .Net v4'.
Once you've done that it should work.
I have Downloaded demo project from here
I tried to run Silverlight project SkiResult.ThinClient from the “Solution Explorer” I have configured the database nicely as SkiResult.FullClient a WPF Project works fine and display data.
But whenever I have tried to run Silverlight project in my Solution Explorer it shows me following error message.
I have googled so much I have also found one solution that set xyz.WEB project as a Start Up Project but as u can see from below screenshot of my Solution Explorer there is no xyz.WEB project in solution.
Thank you so much.....
Try setting the SkiResult.DataService project to be the startup project. This looks very much a web project created to host a Silverlight application because:
it has a Web.config file (so it is clearly a web project)
it has a Silverlight.js file (some utility JavaScript used with Silverlight),
it has some autogenerated test pages,
it has a ClientBin folder, which is typically where the compiled Silverlight application will be copied to.
When you create a Silverlight project, Visual Studio offers to create a web application project to host the Silverlight application for you. (You don't have to create a web application - VS can generate a test webpage during the build process and use that instead.) If your Silverlight project is called Xyz, then this web application will be called Xyz.Web. However, with the solution you're dealing with above, it seems this project has been renamed from the default.
I am getting the same problem as this:
Debugging w/ Attach to Process Starts ASP.NET Dev Server
Every time I attach to the web server, I get another asp.net development server, eventually ending up with more and more.
However I don't see the option described in my Properties page. I have Visual Studio 2010. All I have in the Properties is "Full Path" and "Opened URL".
EDIT: Note: they all have different port numbers
You created the application as a web site. If you create a new project (vs. web site), you will get the Project properties page that is described in the SO question you referenced.