155 questions
0
votes
1
answer
159
views
App_Code in Visual Studio 2015 vs Visual Studio 2022
In VS 2015 website, I create datasets in the App_Code folder, added table adapters and link to stored procedure from SQL Server, which I can still do in VS2022.
In my code behind in VS 2015 (vb.net), ...
0
votes
1
answer
493
views
Using multiple database connection string in web application web ,Doubts about asp.net web application appcode
Using multiple database connection string in web application web confing and changing the connection string base on the user in app_code file
I am working on a asp.net c# web appliaction where we have ...
1
vote
3
answers
1k
views
Class in App_Code folder not accessible in vb.net website project
At work I have been asked to make some amendments to a vb.net website project i've not worked on before. I've cloned the code from TFS and opened it in VS2019 but there were errors when I tried to run ...
3
votes
1
answer
960
views
Serilog WCF usage without constructors?
I am new to c# and I am trying to using serilog in a WCF application. This WCF application is hosted on IIS 6.0.
I need to create the logger once only when the service is initialized. However WCF ...
3
votes
0
answers
384
views
Global helpers inside razor views in App_Code are not recognized
EDIT: After opening a new ASP.NET Web Application in Rider it works, so I'm now trying to figure out what is the key difference between the two projects.
I'm using Mono 6.8, specifically MVC version 5....
1
vote
0
answers
36
views
in asp.net (vb.net)in visual studio 2019 community i try to use public class in app_code
**i define public class in app_code :
Public Class BasePage
Inherits System.Web.UI.Page
Private Sub Page_PreRender(sender As Object, e As EventArgs) Handles Me.PreRender
If String....
2
votes
1
answer
2k
views
Is it possible to install multiple AppCode versions side by side
I am a huge fan of Jetbrains "AppCode". But due to the variety of projects I have some depending on older XCode versions and others can be the latest and greatest. It's great that we can have multiple ...
0
votes
2
answers
2k
views
While publishing a project, classes in AppCode folder did not complied
I want to publish a mvc web project on visual studio IDE. In the project, here is one class in the AppCode folder. But after publish / build the project, there is no .dll file for this folder. As a ...
0
votes
1
answer
463
views
Is the source code placed in the App_Code special folder in an ASP.NET Web Forms application as reliable as a compiled app?
I'm maintaining a legacy application that was written in Web Forms, and we have started bolting new functionality on to it that makes heavy use of API's. It's also written in VB .NET.
I've worked ...
1
vote
1
answer
805
views
How to access App_Code/file.cs from a aspx file?
I have the following file: App_code/utility.cs. This file needs to be accessed via a aspx file. In my aspx file I have the following <%@ Import Namespace ="../App_Code/Utility.cs" %>. When I ...
0
votes
0
answers
37
views
I cannot access App_Code and it is read only
I am trying to run some functions and helpers in App_Code folder.
But the folder becomes read-only automatically and I am not able to access any of its functions or helpers from other pages.
Visa ...
1
vote
0
answers
80
views
AppCode autocomplete not showing correct results
AppCode's autocomplete is showing some strange behaviour on my side that I cant seem to figure out. There are two issues I'm currently facing:
Auto complete results are missing or incorrect, in the ...
1
vote
2
answers
1k
views
Unable to convert input xml file content to a DataSet. Requested value 'ConnectionStrings' was not found
I have a problem with the visual studio.
I user visual studio 2015 and choose framework 4.5 and create an empty website.
then I add Dataset.xsd to my project (in App_Code) and then by using server ...
0
votes
1
answer
168
views
Debugging Intellij Idea Plugin in AppCode
How can I debug a plugin created in Intellij Idea using Gradle in AppCode? Every time when I'm running runIde Gradle task it starts Intellij Idea Community for debugging. My build.gradle file is:
...
0
votes
2
answers
1k
views
Could not load file or assembly 'App_Code' or one of its dependencies.
Problem: I want to deploy modified code into web server. web server is having IIS version set to V2.0. and now I have developed and published code on my local machine with version 4.0. (there is ...