I have console application and would like to run it as Windows service. VS2010 has project template which allow to attach console project and build Windows serv
We have an internal web application that accepts a file of varying formats from a user in order to import large amounts of data into our systems. One of the mo
I'm trying to develop my first visual studio extensions project, I have VS10 SDK installed and was able to create a new project and can build it fine, however w
I notice that there are a bunch of similar questions out there about this topic. I'm getting this error when calling any of the methods below. Microsoft.A
I have a problem in Environment Variable in Visual studio 2022. When I use Development there is no problem and it takes development AppSettings, But when I rem
We've just upgraded to ASP.NET 4.0, and found that requestValidation no longer works. The MSDN docs suggest we need to set requestValidationMode in web.config t
I have got an error. This is my Startup class. public void ConfigureServices(IServiceCollection services) { services.AddControllers(); } public void Confi
I want to list all Outlook appointment times in a specific time range and I am only interested in start and end time of the appointments. I'm using this code s
I have read a similar post, but i just cant figure out the problem. I have changed the windows permissions and changed routes. When i try to save a file it th
On my machine, it's here: string downloadsPath = Path.Combine( Environment.GetFolderPath(Environment.SpecialFolder.UserProfile), "Downloads"); But on a
I have 2 entities that are related as one to many public class Restaurant { public int RestaurantId {get;set;} public string Name {get;set;} public Li
From the result of an API call I have a large amount of JSON to process. I currently have this Object convertObj = JsonConvert.DeserializeObject(responseFromS
I am looking at different options for persistence modelling in Windows Phone using Isolated Storage. One of the ideas I have come up with was
In Asp.Net core, a cookie is created when you configure your app to app.UseSession(). By default the cookie is called ".AspNetCore.Session". Its value identifi
Problem: I am trying to bind a udp socket on a specific address. I will broadcast out a message. That same socket will need to be able to receive messages. Cur
I am trying to draw few entities in WPF. My collection contains System.Drawing.Rectangle objects, When I try to access the location of those objects in WPF XAML
My problem is that I can't access to GET method from my Angular app because of the issue: Access to XMLHttpRequest at 'https://localhost:44337...' from origin '
I have a class named book in C#. In an ASPX page (which has access to book class), I have an iframe element. I want to use Javascript from the page in the ifram
I have a class named book in C#. In an ASPX page (which has access to book class), I have an iframe element. I want to use Javascript from the page in the ifram
In Excel, I am able to add validation rules to a range of cells and limit the accepted input to a list of values displayed in a dropdown. This is done using the