Visual Stuio 2022 Bugs
HI Guys, Does anyone have any idea how to fix the new visual studio 2022 bug? Explain When I add more than 2 Buttons regardless <ASP:Button OR <ASP:LinkButton that I add to the form only 2 works the 3rd one does not work, the button shows on…
.NET 4.5 WinForms Frame
Hey, My WinForms app is in .NET 4.0 Full, I'm considering to upgrade the project to .NET 4.5. BTW .NET 4.5 WinForms has a new large form border style, looks ugly IMO. Is there any workaround to make the .NET 4.5 forms looks like the older ones? …
Unable to resolve class library references in dotnet core 5 app
I have class library and i have used that class library as a project reference in my dotnet core 5 webapi project. And i have used it in the controller like this But when i hit this controller from post man i get error saying: Im…
How does an installer add a firewall inbound rule?
Hi. I am implementing an installer. Since some of executable files open sockets so Windows Defender alerts for the files. This alert stops the application. So I am going to implement adding firewall rules by an installer. In order to add the rule, I…
MVC checkbox postback and refresh in the dashboard
I have an existing MVC application to read one external database to generate pdf upon submit button and its working fine. TimeSheet.cshtml – has the following dashboard display: I was asked to enhance application to insert some checkbox…
Tree view with specific field from json
I am developing an winform application using C#. In this application in treeview control I will be showing question and subquestions in tree structure. Source of question and sub-question will be a some specific field in a JSON. On click of a…
ASP.NET Core 6 how can I Use a .pem-chain file or .pem file to set up https
I have an app I have written in asp.net core 6, and I think I have what I need to get https set up. I have a .pem-chain file and a .pem file I can use and I also have a .key file that was created when I generated a .csr file. I looked through all the…
gridview asp.net doubts
Hello I have one gridview from that im extracting each 20 quantity from the gridview1 data into gridview2 data this is my c# code private void BindGridView() { int SrNoCounter = Convert.ToInt32("1"); List<ItemAllocation> gridSrc =…
Create a separete Database Table for each Chart?
I have About 6 Charts on my website I have a code script that first gets all the dates in a year and adds it to a model List that model list contains 2 values: "Date" and "Value" (for the chart X and Y axis), the dates are all…
System.Net network tracing doesn't work in .net app
System.Net network tracing doesn't work in .net app This is the only output is see in the log file. I made sure the TRACE is enabled : System.Net Information: 0 : [23592] Current OS installation type is 'Client'. …
Strange Wrapping Patterns
I have a TextView that is doing strange wrapping & not displaying all text. Here is the code & screenshots for 2 of the scenarios: android:text="Remove Visits Before" android:text="Remove Visits Before Visits Before1 2…
How can I View Alternative Layouts Simultaneously?
I'm not sure where to ask this, so I am asking it here. When a Xamarin.Android app has alternative layouts (such as layout-land), Visual Studio 2022 displays them in the same tab, therefore only allowing you to see only one of them at a time. Because…
Integration test in .NET6
I do integration test to my system. I have 2 webAPIs and one monitor. "manager" webAPI ->Server->"notify" webAPI I created default client with WebApplicationFactory that sends requests to "manager" webAPI. My…
Can no longer access areas pages in MVC app
When the identity pages in my app were first scaffolded I could access them. Now I can't and don't know why. I get the error 404 “This local host page cannot be found”. The app also portays some weird routing when I try to access the links from within…
How to add Bearer token to a request in ASP.NET CORE
I have an API secured by Bearer token to be consumed in a mvc project. I'm using ClientFactory to call the API in mvc. I get the generated token from WeatherForecast [HttpGet] method and use it to to access the Authorized PlayerController methods. It…
Edit a Word document within the browser
Hi, I have an ASP.NET web application which has a page to upload Word documents. I am looking for the ability to open/edit Word documents from within the Web application/browser itself and retain the document formatting. All this without the need to…
How to remove the default WCF service page?
I have a WCF service hosted on IIS. This service is strictly for use by a thick client application. I am attempting to harden the site to limit hacking and following suggestions online have managed to remove and add headers as need to hide the fact it is…
MVC 5 Prevent Users From Going Back After Logging In or Out Using Identity Framework
I am building an app using MVC 5 and I ran into a common issue that has been asked over and over but I can't seem to find the right answer using .NET Identity. Once the user logs in, they should not be able to go back to the login page and the same is…
Synapse workspace has a 0 core limit
I have a Synapse workspace running a bunch of pipelines every night. The pipelines are starting notebooks which use a spark pool. Since April 1st, all the pipelines failed with this error message: "message": "Operation on target *****…
Can we Store JSON data as varbinary in SQL server?
I am only creating a staging table to temporary work with JSON data in memory, therefore avoiding it to store in a column per field manner. Instead I would like to store that variable json values in SQL DB entity. I am stuck how to store it? I am…