logo
down
shadow

.NET QUESTIONS

CORS Response Header (Intermittently) not being returned in IIS - Web API
CORS Response Header (Intermittently) not being returned in IIS - Web API
I wish did fix the issue. After thinking about what I posted in the edit...and making the assumption that the CORS was being disabled after a app pool recycle. I decided to move the piece of code the enables the CORS config.EnableCors(); in the class
TAG : .net
Date : November 22 2020, 09:00 AM , By : Allison Bradshaw
The repository pattern is procedural, not OOP?
The repository pattern is procedural, not OOP?
it fixes the issue Well I have been reading a book on domain driven design, it is titled Patterns, Principles and Practices of Domain Driven Design(PPPDDD). I've enjoyed reading it so far, and it gives a lot of insights into DDD in .NET world. Howeve
TAG : .net
Date : November 22 2020, 09:00 AM , By : Mark
Self Contained WPF .net
Self Contained WPF .net
around this issue You can create the .exe easily enough, and include any external dependencies (.dlls) in the same folder on the USB stick. The .NET framework is included with Windows 7, so as long as you allow for the lowest version possible (3.5.1)
TAG : .net
Date : November 22 2020, 09:00 AM , By : Je06
Create a new instance of a form and keep it open
Create a new instance of a form and keep it open
I think the issue was by ths following , The reason the form is closing is because your application is closing which in turn closes all the open forms.Try specifying a form using Application.Run. Something like this:
TAG : .net
Date : November 22 2020, 09:00 AM , By : Giorgio Marinelli
Redirect to controller action from custom IHttpHandler
Redirect to controller action from custom IHttpHandler
like below fixes the issue After some further research I realized that I am attempting to redirect to a HttpPost action. Apparently that is not possible as a redirect by design is a GET request. I will need to think differently to solve my problem.
TAG : .net
Date : November 21 2020, 07:38 AM , By : Ali Asim
Simple CefSharp application is missing files at runtime
Simple CefSharp application is missing files at runtime
seems to work fine After discussions with @amaitland I ended up uninstalling all NuGet packages and installing each package through the Package Manager Console;
TAG : .net
Date : November 19 2020, 03:54 PM , By : Jeffrey Dods
C# code to search exact file name in Windows folder
C# code to search exact file name in Windows folder
wish helps you I figured out the solution which is to use EnumerateFiles with a "Where" clause. See the code below:
TAG : .net
Date : November 17 2020, 09:01 AM , By : farhanhasinc
Re-Run Event in VB.NET Windows Forms
Re-Run Event in VB.NET Windows Forms
Does that help I have an windows form with a combobox, a button, and a datagridview. , Try to use a timer
TAG : .net
Date : November 17 2020, 09:01 AM , By : Kal
vb.net how to pause while loop until user clicks button?
vb.net how to pause while loop until user clicks button?
I hope this helps you . You could have the button set a flag value that a second while loop checks before letting the main loop proceed. Very simplified example below.
TAG : .net
Date : November 16 2020, 09:01 AM , By : Rajiv Sharma
How can i update one specific dotnet assembly in Universal Windows Platform app?
How can i update one specific dotnet assembly in Universal Windows Platform app?
wish of those help For its first release UWP apps pinned all the core packages because of some private dependencies between packages like System.Runtime or System.Collections and the .NETNative toolchain. As a result to test out a new version of any
TAG : .net
Date : November 13 2020, 05:40 AM , By : 17BirdCats
Visual Basic random number generation
Visual Basic random number generation
will help you Short answer: 1 to 99.Long answer with explanation: An extract from MSDN documentation for Random.Next Method (Int32, Int32) provides clarification on how parameters should be used:
TAG : .net
Date : November 09 2020, 09:01 AM , By : Godush
Asynchronously read cmd output in .NET - Hanging on process input request
Asynchronously read cmd output in .NET - Hanging on process input request
will help you You can write your own text stream reader routine, which will read and report incomplete line. Here is a simple C implementation:
TAG : .net
Date : November 09 2020, 09:01 AM , By : kazurayam
How to get all TextBox controls of a Form
How to get all TextBox controls of a Form
With these it helps I am trying to access the TextBox controls of a Form which are in a Panel inside a GroupBox as well as any other TextBox controls on the form but I am unable to access them. This is what I have tried: , Yo can create a method to f
TAG : .net
Date : November 08 2020, 09:00 AM , By : Ayushi Bhardwaj
MVC 5 application on IIS
MVC 5 application on IIS
Any of those help No you're seeing that 403.14 error code because IIS failed to navigate the project resources. If your routing was the problem, you will see 404.There are two things you need to check out for your error.
TAG : .net
Date : November 07 2020, 01:32 PM , By : Julian Bradford
regex parsing with as few as possible
regex parsing with as few as possible
wish of those help If you would like to match only the inner portion of the brackets, you could replace the reluctant .+? with greedy [^\[\]]+ that matches everything except square brackets:
TAG : .net
Date : November 07 2020, 01:32 PM , By : Moises Durovni
How to manually upload rdl file in reporting server in ssrs.
How to manually upload rdl file in reporting server in ssrs.
Hope that helps According to this site
TAG : .net
Date : November 07 2020, 09:00 AM , By : user4569221
Is there faster base-2 conversion than Convert.ToString(byte,2)?
Is there faster base-2 conversion than Convert.ToString(byte,2)?
will be helpful for those in need I have looked at the source for Convert.ToString(byte,int)It makes a call to a Native implementation, so i guess it's as fast as we can have:
TAG : .net
Date : November 06 2020, 04:03 AM , By : guy50
Issue Installing Entity Framework 7 RC1
Issue Installing Entity Framework 7 RC1
may help you . After getting this error, I was able to install EF7 RC1 to my project by removing references to my other projects, after that I was able to install EF7 RC1 succesfully to the project where I needed it, and then added references back, a
TAG : .net
Date : November 04 2020, 08:17 AM , By : Phanthaphong Chamnan
ClickOnce Publish: Install button fails, but launch link works
ClickOnce Publish: Install button fails, but launch link works
To fix the issue you can do I have an strange error trying to install an application distributed as a clickonce. , The error -2146697191 translates to 0x800C0019 which is:
TAG : .net
Date : November 03 2020, 09:01 AM , By : SalvoMami
Nuget difference beetween DNXCore5.0, NETCore4.5 and .NETPlatform5.2
Nuget difference beetween DNXCore5.0, NETCore4.5 and .NETPlatform5.2
Hope that helps netcore45 is Windows 8 Apps, dnxcore50 is DNX/ASP.NET 5 running on CoreCLR, dotnet52 is the next evolution of portable (think of it as portable-net451+netcore451+wpa81 but future-proof). For more information, see the .NET Platform Sta
TAG : .net
Date : November 01 2020, 03:09 PM , By : temptn gu
Using timer to send textbox lines to notepad
Using timer to send textbox lines to notepad
Any of those help I think the issue you are having is the fact that the timer keeps firing before you have clicked on your message box, i.e. There is a re-entrancy issue.If you disable the timer when you go into the sub routine and enable it at the e
TAG : .net
Date : October 31 2020, 05:43 PM , By : DSpose
FHIR .NET API: Can't read web resource
FHIR .NET API: Can't read web resource
wish helps you Your code is correct. I think you are trying to use an older DSTU1 version of the .NET library to read data from a DSTU2 server. Can you check the version of the NuGet package is 0.90 (or higher)?This is the one you need: https://www.n
TAG : .net
Date : October 31 2020, 01:52 PM , By : Jan Fulin
Is React and Visual Studio 2013 a good combination?
Is React and Visual Studio 2013 a good combination?
wish help you to fix your issue I am using the Task Runner extension of visual studio ( comes built in when using VS2015 ) it manages my Gulp tasks and build using babel, my JS code. it is very easy and helpful, it runs the watch task as the solution
TAG : .net
Date : October 31 2020, 01:49 PM , By : JMD web studio
Downloading Google Sheets worksheets as CSV files
Downloading Google Sheets worksheets as CSV files
I think the issue was by ths following , It is possible but you need to pull the document as a feed in order to collect the worksheet IDs.
TAG : .net
Date : October 31 2020, 01:49 PM , By : Vinamra Misra
Running multiple applications on the same Azure WebRole (Cloud Services)
Running multiple applications on the same Azure WebRole (Cloud Services)
it fixes the issue I think you're on the right track with the csdef file changes, and the wrong track with the ccproj changes. So get rid of your second ProjectReference, since you just want one WebRole at the end of the day.What you should do in the
TAG : .net
Date : October 30 2020, 10:01 AM , By : Nick Van Wiggeren
DynamoDB .NET how to get the items JSON and directly return to client side
DynamoDB .NET how to get the items JSON and directly return to client side
To fix the issue you can do Just found the answer.Using DynamoDB's low level api will return a lot of unnecessary data for low level usage. So we can use the high level document model.
TAG : .net
Date : October 29 2020, 11:32 PM , By : Michael Beda
Regex: 9 integers but spaces and minus characters allowed
Regex: 9 integers but spaces and minus characters allowed
Does that help I need a regex that as a minimum has 9 numbers and a maximum of 9 numbers. but these numbers can be split up with spaces or minus characters Here are some sample strings with true or false to show what i want: , You can use this lookah
TAG : .net
Date : October 29 2020, 06:12 AM , By : Mr_Budo
Visual Studio Professional 2015 and Windows 10 - All kinds of IDE errors
Visual Studio Professional 2015 and Windows 10 - All kinds of IDE errors
it should still fix some issue I think the VM issues were a red herring. I get these errors in Windows 10 running on the hardware (not in a VM). The most common error is the compositionService one. I also get "The TestWindowPackage did not load corre
TAG : .net
Date : October 29 2020, 04:55 AM , By : Mikhail Moiseev
What platforms need to include Microsoft.Bcl.* NuGet packages?
What platforms need to include Microsoft.Bcl.* NuGet packages?
I hope this helps you . Only Silverlight (sl5) and .NET 4 (net40) target requires such packages. All .NET 4.5 above and Xamarin ones can live without them.
TAG : .net
Date : October 29 2020, 04:45 AM , By : Stacky121
.NET - Process started by Windows Service is killed prematurely if the service runs as LocalSystem (as opposed to Admini
.NET - Process started by Windows Service is killed prematurely if the service runs as LocalSystem (as opposed to Admini
To fix the issue you can do I made it work by copying the application files to a temporary folder and running the ServiceUpdater from this folder. Obviously the updater was stopping when the exe file was deleted (when run by LocalSystem) so this let
TAG : .net
Date : October 28 2020, 05:11 PM , By : vinder
Could not load file or assembly 'Newtonsoft.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or
Could not load file or assembly 'Newtonsoft.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or
may help you . Update the correct version of the installed version? Else install specific version 7 with nugetWeb.config:
TAG : .net
Date : October 28 2020, 11:27 AM , By : nighna
Using project.json in csproj Class Library
Using project.json in csproj Class Library
This might help you Is it possible to use the new project.json file to add NuGet packages to a standard .NET 4.6 Class Library?
TAG : .net
Date : October 28 2020, 11:27 AM , By : Neena Appukuttan
Adding Microsoft Accounts to Azure Active Directory
Adding Microsoft Accounts to Azure Active Directory
I wish this help you It is still not able to add the external users programmatically at present. If you want this feature, you may vote the feedback here about using PowerShell to add external users.And if you want to use other languages or the Azure
TAG : .net
Date : October 24 2020, 01:32 PM , By : JointedLemon845
Ionic2 using Visual Studio 2015
Ionic2 using Visual Studio 2015
wish of those help I am having a problem when loading the VSEmulator, it says i am missing a file but i am not sure what to do to solve it?, or what to download. I do have Java installed and i can confirm that typing Java in the command prompt it sho
TAG : .net
Date : October 23 2020, 05:39 PM , By : user6055475
shadow
Privacy Policy - Terms - Contact Us © animezone.co