logo
down
shadow

.NET QUESTIONS

ApiController vs ODataController when exposing DTOs
ApiController vs ODataController when exposing DTOs
Does that help Can someone explain me when I should inherit my controller form ODataController vs ApiController?
TAG : .net
Date : December 01 2020, 04:55 PM , By : Chris Trout
Is there a benefit to breaking up Integration tests with TestCategory?
Is there a benefit to breaking up Integration tests with TestCategory?
I wish this help you One of the problems with MSTest is that you have to mark each test with a category rather than being able to mark a whole fixture using NUnit for example. I would be skeptical that you would be able to keep the categories up to d
TAG : .net
Date : December 01 2020, 04:55 PM , By : Michael Housman
Implementing a scalable node.js-like HTTP server with c# and .net
Implementing a scalable node.js-like HTTP server with c# and .net
Does that help Yes, Async API of .NET 4.5 will be as fast as Node will be, however since Node is a bare minimum server, it will always seem faster, as by default Node does not manage session and many other hooks that IIS provides for various function
TAG : .net
Date : December 01 2020, 04:55 PM , By : Hristo Jelev
Call GC.Collect before memory hungry unmanaged function?
Call GC.Collect before memory hungry unmanaged function?
around this issue It does sound like a valid situation in which you would call GC.Collect. You could also try the GC.AddMemoryPressure API which is designed to tell the CLR that you are allocating a lot of unmanaged memory in your process, and might
TAG : .net
Date : November 29 2020, 01:01 AM , By : TeddyLu
SQL Server no source code, wanting to change the connection string
SQL Server no source code, wanting to change the connection string
Hope this helps Assuming the DLL is a .NET DLL too, I'd consider the following: Run ildasm to disassemble the DLL into IL Edit the IL to change the connection string Run ilasm (a .NET 1.1 version!) to reassemble the IL into a DLL Make it very, very c
TAG : .net
Date : November 28 2020, 08:01 AM , By : Mohammad Barhoush
Multiple partials means that model errors bleed between forms
Multiple partials means that model errors bleed between forms
Does that help Your problem is very similar to this question: Specify validation summary on multiple forms.Mandoleen shared this blog post Multiple validation summary at single page.
TAG : .net
Date : November 28 2020, 01:01 AM , By : Dani
Easiest way to extract 4 digit number out of string?
Easiest way to extract 4 digit number out of string?
may help you . If I know a string is going to be something like: , In c the whole thing would be
TAG : .net
Date : November 27 2020, 01:01 AM , By : Brane Pečar
What is the point of 'FieldSpecified' in WCF?
What is the point of 'FieldSpecified' in WCF?
may help you . On your question 2, the Specified fields are not used only by the sending side. On the receiving side, the XML deserialiser will set the Specified fields according to the presence or absence of the corresponding fields on the wire, whi
TAG : .net
Date : November 27 2020, 01:01 AM , By : Carlo
Search and replace with regex including lookbehinds does not work in VS2017
Search and replace with regex including lookbehinds does not work in VS2017
I wish this help you In Visual Studio 2017, I am trying to turn some lines like this : , You may useFind What: (\[\w+]\s+)\[(\w+)]
TAG : .net
Date : November 25 2020, 07:27 PM , By : Abu Aiman
How to Quit or Close (not Kill) Word document (process)?
How to Quit or Close (not Kill) Word document (process)?
wish of those help You need to attach to the running Word instance as described here, and then close the document:
TAG : .net
Date : November 25 2020, 07:27 PM , By : Munesh Kumar
Parsing string with nested separators
Parsing string with nested separators
Hope this helps I'm trying to do a regex that can give me the following result: , The usual way to use balancing groups is this:
TAG : .net
Date : November 24 2020, 05:44 AM , By : Richard Chung Pak Mi
How to invoke a DLL method from PowerShell 1.0
How to invoke a DLL method from PowerShell 1.0
wish helps you Most likely the method is an instance method which means you will need to have an instance of the class. You can get that via a public default constructor on the class e.g.:
TAG : .net
Date : November 24 2020, 05:44 AM , By : Jessay Carcuevas
Starting Web Api 2 with OWIN
Starting Web Api 2 with OWIN
I hope this helps . The only difference I can see with my projects is that I have the Microsoft.AspNet.WebApi.Owin package installed:
TAG : .net
Date : November 23 2020, 01:01 AM , By : KSwol
display a string with multiple lines in TextBox
display a string with multiple lines in TextBox
will help you Use TextBox.Multiline PropertyRefer this
TAG : .net
Date : November 22 2020, 03:03 PM , By : johnwoo
Is it possible to programmatically get a shared Dropbox link without sending the user to the dropbox login page?
Is it possible to programmatically get a shared Dropbox link without sending the user to the dropbox login page?
To fix this issue If it is access to your dropbox files via the API, then you can request an access token from the App Console for the app you are working on.See button here:
TAG : .net
Date : November 22 2020, 03:03 PM , By : jdac
HKLM\SYSTEM\CurrentControlSet\Control\TimeZoneInformation\TimeZoneKeyName corrupt?
HKLM\SYSTEM\CurrentControlSet\Control\TimeZoneInformation\TimeZoneKeyName corrupt?
this will help When a string or multi-string value is set in the registry, Windows does not check the semantics; it simply stores whatever binary content is provided, with the length specified by the programmer. This means that a string can be premat
TAG : .net
Date : November 22 2020, 10:54 AM , By : jobritton
Performance cost of creating array of constants as function argument
Performance cost of creating array of constants as function argument
I hope this helps . No, the array will be allocated every time. Probably not a big deal in average situations, but could pretty well be in a tight loop, or if called very often (like on a busy server, etc.).In summary, if you suffer here, it is best
TAG : .net
Date : November 22 2020, 10:40 AM , By : user2955503
SQL Server rowversion and order
SQL Server rowversion and order
With these it helps The time of the increment is at the time of the change of the row, irrespective of when the transaction commits:Example. (Note @@dbts is the current database rowversion value.)
TAG : .net
Date : November 22 2020, 01:01 AM , By : user2954344
Type.GetType returns null when called via COM interop
Type.GetType returns null when called via COM interop
seems to work fine My crystal ball says that Type.GetType(string) returns null because you haven't done anything to help the CLR find the assembly that contains your MySettingProvider class. Which is required, the CLR doesn't stand much of a chance t
TAG : .net
Date : November 21 2020, 07:31 AM , By : user2953853
Is the Microsoft.Practices.EnterpriseLibrary.Validation outdated?
Is the Microsoft.Practices.EnterpriseLibrary.Validation outdated?
seems to work fine Enterprise Library is not deprecated and the Validation Application Block still exists in the latest version (version 6). You can read about it in Chapter 7 of the Developer's Guide, Banishing Validation Complication: Using the Val
TAG : .net
Date : November 21 2020, 01:01 AM , By : user2953719
.net Bitmap changes color of image
.net Bitmap changes color of image
wish help you to fix your issue It is as Hans Passant says. I just had to add the true at Image.FromFile(filename, True)This true stands for:
TAG : .net
Date : November 21 2020, 01:01 AM , By : user2953685
vb.net reading text file ,split to random range
vb.net reading text file ,split to random range
I hope this helps you . I want to read List's text line into a random range from 2 to 5 line and save to link. , Here's a simple example:
TAG : .net
Date : November 21 2020, 01:01 AM , By : nisvet
LINQ Join with same Name on different tables
LINQ Join with same Name on different tables
wish help you to fix your issue I'm having trouble when joining 2 tables, The issue is on the line , Try this:-
TAG : .net
Date : November 19 2020, 03:59 PM , By : tosa
Programmatically share a dropbox link in .net without having user login to Dropbox
Programmatically share a dropbox link in .net without having user login to Dropbox
this will help You can use the DropNet library. It comes with a way to log into dropbox, and upload a file, and you can write your code in C .NET. Uploading the file after you are logged in works like that:
TAG : .net
Date : November 19 2020, 01:01 AM , By : hometrade4u
bootstrapper fails to install .Net Framework 4.0
bootstrapper fails to install .Net Framework 4.0
should help you out My installer has .net framework 4.0 and vsto runtime as prerequisites. But when .net 4.0 is present, my setup is successfully installed. But when I uninstall .net framework from my system and try to install setup. the setup fails
TAG : .net
Date : November 19 2020, 12:41 AM , By : user2952254
Why would signing credentials from a RSA-SHA512 X509Certificate2 appear to be RSA-SHA256?
Why would signing credentials from a RSA-SHA512 X509Certificate2 appear to be RSA-SHA256?
may help you . What you are probably misunderstanding is where the hashing algorithms are used. The first one is used during the creation of the signature over the certificate. The second one is the hashing algorithm that is used during signing with
TAG : .net
Date : November 17 2020, 11:55 AM , By : jjpaters
Using .NET Class as the DataSource with SSRS RDLC
Using .NET Class as the DataSource with SSRS RDLC
This might help you Here are a couple solutions, but I prefer the second one.Solution 1 (okay)
TAG : .net
Date : November 17 2020, 11:52 AM , By : Bonar Hadop
Choosing SQL Server version for new project
Choosing SQL Server version for new project
will help you Yes, you can use Sql Server 2014 Express to develop for Sql Server 2014 Standard or Sql Server 2014 Enterprise. Note that Sql Server 2014 Express won't let you use any of the features in Sql Server Enterprise Edition, though. If you wan
TAG : .net
Date : November 17 2020, 04:28 AM , By : user2949973
WCF FileNotFoundException
WCF FileNotFoundException
Hope that helps One way we have found to help determine the root cause of WCF service host start-up issues, such as a FileNotFoundException, is to enable WCF Tracing. Oftentimes, the WCF Trace log will reveal issues that were previously “hidden”.http
TAG : .net
Date : November 17 2020, 04:28 AM , By : Begüm Tokuyucu
Fullcalendar ignoring all options on initialization?
Fullcalendar ignoring all options on initialization?
I hope this helps you . It seems my error was including the stylesheet "fullcalendar.print.css" without specifying the media attribute (I don't know how, since I'm using the bundles to apply stylesheets). This broke the buttons by overriding the defa
TAG : .net
Date : November 17 2020, 01:00 AM , By : Itidal Rashdan
Freebase oAuth2 Bad Request(400) .Net
Freebase oAuth2 Bad Request(400) .Net
I wish this helpful for you You're including the Content-Type in the POST data but it should be presented as part of the HTTP headers as in:
TAG : .net
Date : November 15 2020, 06:54 AM , By : user2948759
Why does InlineCollection not offer an Indexer (without casting)?
Why does InlineCollection not offer an Indexer (without casting)?
like below fixes the issue Really interesting question.I think that it is hidden because of some specific behavior, but I could not find any reference as well. You can check the source code of the TextElementCollection class and you will see that in
TAG : .net
Date : November 15 2020, 06:54 AM , By : ery
shadow
Privacy Policy - Terms - Contact Us © ourworld-yourmove.org