logo
down
shadow

.NET QUESTIONS

When should I use Compiled LINQ vs Normal LINQ
When should I use Compiled LINQ vs Normal LINQ
I think the issue was by ths following , Short answer: when it's only going to happen once in a long time.Long Answer.
TAG : .net
Date : January 25 2021, 03:26 PM , By : Adam
How do I calculate CRC32 of a string
How do I calculate CRC32 of a string
wish help you to fix your issue How do I calculate the CRC32 (Cyclic Redundancy Checksum) of a string in .NET? , This guy seems to have your answer.
TAG : .net
Date : January 25 2021, 03:26 PM , By : walkah
Has anyone run performance benchmarks comparing LINQ
Has anyone run performance benchmarks comparing LINQ
Hope this helps Rico Mariani is the performance guy at MSFT and he has a nice series on LINQ to SQL performance: part 1 part 2 part 3 part 4 part 5
TAG : .net
Date : January 25 2021, 03:26 PM , By : FuzzyHornet
.NET Interfaces
.NET Interfaces
wish helps you I'm not sure if interfaces are going to help you a lot here. My understanding is that you are breaking a page down into set of "composite" user controls that contain other controls, and you want to decide whether to use properties for
TAG : .net
Date : January 25 2021, 03:26 PM , By : Xander
What is the value-binding syntax in xaml?
What is the value-binding syntax in xaml?
around this issue The ElementName property on a Binding is not supported in Silverlight.You will notice, if you go into the code behind or inspect the Binding object in class explorer, it doesn't have a property named ElementName.
TAG : .net
Date : January 25 2021, 07:01 AM , By : xie renhui
Automatically check bounced emails via POP3?
Automatically check bounced emails via POP3?
it fixes the issue I have done a great deal of work handling bounce emails and there different types. If you want to be absolutely sure that the email your looking at is indeed a bounce of a specific kind I highly recommend getting a good filter. I h
TAG : .net
Date : January 24 2021, 02:01 AM , By : Arnaud Goudsmit
Animation in .NET
Animation in .NET
should help you out Silverlight springs to mind as an obvious choice if you want to do animation using .NET on the web. It may not cover all platforms but will work in IE and FireFox and on the Mac.
TAG : .net
Date : January 24 2021, 02:01 AM , By : Nougat
Performance Considerations for throwing Exceptions
Performance Considerations for throwing Exceptions
Does that help @Brad TutterowThe exception is not being lost in the first case, it is being passed in to the constructor. I will agree with you on the rest though, the second approach is a very bad idea because of the loss of stack trace. When I work
TAG : .net
Date : January 24 2021, 02:01 AM , By : Search Classroom
Web Services -- WCF vs. ASMX ("Standard")
Web Services -- WCF vs. ASMX ("Standard")
fixed the issue. Will look into that further What is a "regular old fashioned web service?" An ASMX service, or are you using WSE as well? ASMX services are not naturally interoperable, don't support WS-* specs, and ASMX is a technology that is aging
TAG : .net
Date : January 23 2021, 02:43 AM , By : jaredsmiller
.NET 3.5 Redistributable -- 200 MB? Other options?
.NET 3.5 Redistributable -- 200 MB? Other options?
hop of those help? That's one of the sad reasons i'm still targeting .net 2.0 whenever possible :/But people don't neccessarily need the full 200 MB Package. There is a 3 MB Bootstrapper which will only download the required components:
TAG : .net
Date : January 23 2021, 02:43 AM , By : yew tree
VS 2008 - Objects disappearing?
VS 2008 - Objects disappearing?
I wish this help you I am also having a number of problems with VS 2008. Who would guess that I don't ever need to select multiple controls on a web form...Anyway, a lot has been fixed in Service Pack 1, which is in Beta currently. Might be worth ins
TAG : .net
Date : January 23 2021, 02:43 AM , By : warttack
E-mail Notifications
E-mail Notifications
this will help From a high level, yes. :D The main thing is some place to store the templates. A database is a great option unless you're not already using one, then file systems work fine.WSIWIG editors (such as fckeditor) work well and give you som
TAG : .net
Date : January 23 2021, 02:43 AM , By : Jµ.
Experiences of the Smart Client Software Factory
Experiences of the Smart Client Software Factory
With these it helps We used SCSF for a real world app with about 10 developers. It was a steep learning curve to set up and develop a pattern of usage, but once it was set up, introducing new developers to the project was VERY easy. Using CAB and SCS
TAG : .net
Date : January 23 2021, 02:43 AM , By : rajiv
Regular expression for parsing links from a webpage?
Regular expression for parsing links from a webpage?
To fix the issue you can do I'm looking for a .NET regular expression extract all the URLs from a webpage but haven't found one to be comprehensive enough to cover all the different ways you can specify a link.
TAG : .net
Date : January 23 2021, 02:43 AM , By : Gilmar Souza Jr.
What is the best way to store connection string in .NET DLLs?
What is the best way to store connection string in .NET DLLs?
I hope this helps you . I'm not certain, but I believe you can put it in a config file and encrypt the config file.Update: See Jon Galloway's post here.
TAG : .net
Date : January 22 2021, 07:23 PM , By : Willem van Schevikho
Should I provide accessor methods / Getter Setters for public/protected components on a form?
Should I provide accessor methods / Getter Setters for public/protected components on a form?
I hope this helps you . "However, the VS designer doesn't seem to implement such Getters/Setters for those public objects that are components on a form (and therefore does not comply with good programming practice)."If you mean the controls you're dr
TAG : .net
Date : January 22 2021, 07:23 PM , By : Topher Cyll
What is a good plotting library for .Net?
What is a good plotting library for .Net?
wish helps you There's a good post about this here and here. I have also used NPlot in our last project since it's easier to use.
TAG : .net
Date : January 22 2021, 07:23 PM , By : lamberms
How do you persist a tree structure to a database table with auto incrementing IDs using an ADO.NET DataSet and a DataAd
How do you persist a tree structure to a database table with auto incrementing IDs using an ADO.NET DataSet and a DataAd
this one helps. I don't know ADO.net in particular, but most ORMs won't automatically insert the ID of a new record in a relationship. You'll have to resort to the 2-step process: build and save parent build and save child with relationship to parent
TAG : .net
Date : January 22 2021, 07:05 PM , By : user158193
MAPI and managed code experiences?
MAPI and managed code experiences?
fixed the issue. Will look into that further Have a separate helper EXE that takes command-line params (or pipe to its StandardInput) that does what is required and call that from your main app. This keeps the MAPI stuff outside of your main app's pr
TAG : .net
Date : January 22 2021, 04:47 PM , By : Dave M
Can I configure Visual Studio NOT to change StartUp Project every time I open a file from one of the projects?
Can I configure Visual Studio NOT to change StartUp Project every time I open a file from one of the projects?
may help you . The way to select a startup project is described in Sara Ford's blog "Visual Studio Tip of the Day" (highly recommended). She has a post there about setting up StartUp projects. Essentially there are 2 ways, the easiest one being right
TAG : .net
Date : January 22 2021, 04:47 PM , By : user119413
TestDriven.NET is not running my SetUp methods for MbUnit
TestDriven.NET is not running my SetUp methods for MbUnit
Does that help No longer an issue with recent versions of Gallio since v3.0.4. Just make sure to use the 64-bit installer.
TAG : .net
Date : January 22 2021, 04:45 PM , By : Henry Fatino
What's the best way to find long-running code in a Windows Forms Application
What's the best way to find long-running code in a Windows Forms Application
should help you out I appreciate the desire to find free software. However, in this case, I would strongly recommend looking at all options, including commercial products. I tried to play with nProf (which is at version 0.1 I think) and didn't have m
TAG : .net
Date : January 22 2021, 04:45 PM , By : ussballantyne
Best way to get InnerXml of an XElement?
Best way to get InnerXml of an XElement?
it fixes the issue I wanted to see which of these suggested solutions performed best, so I ran some comparative tests. Out of interest, I also compared the LINQ methods to the plain old System.Xml method suggested by Greg. The variation was interesti
TAG : .net
Date : January 22 2021, 04:45 PM , By : wiznick
how to use HSL in Asp.net
how to use HSL in Asp.net
it fixes the issue The color struct provides three methods: GetHue, GetSaturation and GetBrightness.Bob Powell wrote an interesting piece on this several years ago.
TAG : .net
Date : January 22 2021, 02:12 PM , By : user137798
Estimating Amount Of time For Tasks Running in Parallel
Estimating Amount Of time For Tasks Running in Parallel
I wish this helpful for you Question1: How to actually ensure that these items run in parallel. Is using TLP (task parallel library) an option, if yes how to use it.
TAG : .net
Date : January 11 2021, 02:18 PM , By : Govind Bhavan
Opening, Changing, and Saving Excel Sheets with DGV
Opening, Changing, and Saving Excel Sheets with DGV
this will help I'm pretty sure that those exceptions mean that your select query needs to return the primary key of the table. If your table doesn't have a primary key, you need to set one.
TAG : .net
Date : January 10 2021, 02:04 PM , By : Xander
Regular Expression Fill-Down
Regular Expression Fill-Down
wish help you to fix your issue Any particular reason you want to use regular expressions for this? Here's code which does what I think you want, without bothering to work out regular expressions:
TAG : .net
Date : January 10 2021, 01:57 PM , By : glisignoli
monitor table in data base
monitor table in data base
may help you . Part 1: db trigger. This is the key part that will make this solution possible/simple/robust. You will need to create a db trigger that writes to another table (tblEmployeeChanges) each time the employee table has an update or insert.
TAG : .net
Date : January 10 2021, 01:57 PM , By : Ryan Adriano
problem in working with thread
problem in working with thread
seems to work fine http://www.google.ru/search?q=not+from+the+thread+in+which+it+was+created%22
TAG : .net
Date : January 10 2021, 01:57 PM , By : pcoramc
Asp.net Report Viewer impersonation
Asp.net Report Viewer impersonation
will be helpful for those in need If i understand you correctly you need to implement IReportServerCredentials, here is an example ive used in the past
TAG : .net
Date : January 10 2021, 01:57 PM , By : Hitesh Prajapati
Trouble upgrading to .NET 4 with VS2008. What am I missing?
Trouble upgrading to .NET 4 with VS2008. What am I missing?
Any of those help You cannot target .NET 4 in Visual Studio 2008. You will need to upgrade to VS 2010 if you want to target .NET 4.0, or use a .NET 4 assembly in your projects.
TAG : .net
Date : January 10 2021, 01:49 PM , By : Derek
If we cannot retrieve output parameters until SqlDataReader is closed, then why...?
If we cannot retrieve output parameters until SqlDataReader is closed, then why...?
I think the issue was by ths following , In your first question, you are executing a NonQuery - therefore there is no reader to close before you get the output parameter.For the second question, you just do. The command won't let you call another rea
TAG : .net
Date : January 10 2021, 01:49 PM , By : Julian Ivanov
.NET Message Queuing using SQL Server as Message Storage
.NET Message Queuing using SQL Server as Message Storage
wish help you to fix your issue Here is a short article on using a table as a queue. Its a couple year old but I've used the technique in the past and it works quite well.http://www.mssqltips.com/tip.asp?tip=1257
TAG : .net
Date : January 10 2021, 01:49 PM , By : Roel
Implement LINQ to Entities unsupported method
Implement LINQ to Entities unsupported method
help you fix your problem LINQ to Entities (and other LINQ implementations based in IQueryable) work by translating expression trees into the target system (in LINQ to Entities: SQL).To support additional operators, changes would have to be made in t
TAG : .net
Date : January 10 2021, 01:47 PM , By : Guid
How do I get Nant to use the 4.0 compiler to target .Net 3.5
How do I get Nant to use the 4.0 compiler to target .Net 3.5
it should still fix some issue Which version of NAnt are you using?I recall that NAnt 0.85 didn't ship with .NET 3.5 support, you had to add that support by editing a NAnt config file. The same has to be done for .NET 4 support, even in the current N
TAG : .net
Date : January 10 2021, 01:47 PM , By : Keniwan
Monitor disk activity programmatically (Windows)
Monitor disk activity programmatically (Windows)
Hope that helps The counters relating to file I/O are on the LogicalDisk and PhysicalDisk objects. Take a look in Perfmon to see what counters are available.Use the PerformanceCounter class in C or the PDH API in C/C++. In my experience these are muc
TAG : .net
Date : January 10 2021, 01:47 PM , By : esimran
.Net Windows Services and InstallState file - is it really needed?
.Net Windows Services and InstallState file - is it really needed?
this will help In VS.NET you can define a custom dialog for your msi project, I am using such a dialog to ask for the SQL Server address and credentials, the msi stores all the info from the textboxes into InstallState file. When the service is unins
TAG : .net
Date : January 10 2021, 01:47 PM , By : perl
Windows Azure Platform, latest version?
Windows Azure Platform, latest version?
it should still fix some issue Microsfot havent removed the limtis yet. But more flexibility and features are added to it. Follwoing is a quick glimpse of what they are.At Mix Microsoft announced that theywill be offering a new 50gb size option in Ju
TAG : .net
Date : January 10 2021, 01:47 PM , By : John
Is SQL server the best DB for Storing and comparing images in database for a small ecommerce application
Is SQL server the best DB for Storing and comparing images in database for a small ecommerce application
this one helps. The integration of MS SQL and Visual Studio is very good, better than any other database, so for that matter you are right to use MS SQL. However the solution to store binary files in a database is a subject which has advantages and d
TAG : .net
Date : January 10 2021, 01:45 PM , By : user187383
Remapping of Database from one server to other TFS-2018
Remapping of Database from one server to other TFS-2018
fixed the issue. Will look into that further Yes, it's a little complicated process. You need to perform multiple steps such as:
TAG : .net
Date : January 07 2021, 03:08 PM , By : Nosayaba
SQL Server: Dynamically create Column Names from JSON Auto Data
SQL Server: Dynamically create Column Names from JSON Auto Data
this one helps. I created JSON Data with JSONAUTO in SQL Server.
TAG : .net
Date : January 07 2021, 03:08 PM , By : eastcoastj
Is it possible to Install .net 4.7 version on my machine when .net 4.8 is already installed?
Is it possible to Install .net 4.7 version on my machine when .net 4.8 is already installed?
will help you If I am guessing correctly you need a Developer Pack for .NET 4.7.The SDK/Developer Pack and the Runtime are not the same.
TAG : .net
Date : January 02 2021, 06:48 AM , By : kraszie
Getting server absolute path in .NET core 2.1
Getting server absolute path in .NET core 2.1
To fix this issue You can still dependency inject a IHostingEnvironment into a singleton. Just register the singleton with the DI as a singleton service.
TAG : .net
Date : January 02 2021, 06:48 AM , By : user169463
Regex to find last word (including symbols) on line
Regex to find last word (including symbols) on line
should help you out We may try just splitting the input string on space, then taking the last entry, for a non regex option:
TAG : .net
Date : January 02 2021, 06:48 AM , By : nagre
Adding element to a couchbase database with f# code
Adding element to a couchbase database with f# code
Hope this helps dynamic is not a real type. It's just a special syntax in C that tells the compiler to treat variables of this type in a special way. When you declare something dynamic in C, the actual type it gets is Object, which in F is called obj
TAG : .net
Date : January 02 2021, 06:48 AM , By : John Bentley
How to create "NuGet Package Management Project" for .NET Standard?
How to create "NuGet Package Management Project" for .NET Standard?
Any of those help As I mentioned as a comment to the question, ignoring the question footnotes this looks like a generic .NET question and I expect google will suggest this page to people making generic searches, not limited to Unity, and it won't be
TAG : .net
Date : January 02 2021, 06:48 AM , By : delphiace
Blazor BaseURI http vs https issue
Blazor BaseURI http vs https issue
hope this fix your issue adding the following commands to the Configure method seems to have resolved it:
TAG : .net
Date : January 02 2021, 06:48 AM , By : yossi
Does X590Certificate.Build use OCSP if ChainPolicy RevocationMode Online is used?
Does X590Certificate.Build use OCSP if ChainPolicy RevocationMode Online is used?
wish helps you If OCSP is the only option, like Let’s Encrypt, then yes. If both OCSP and CRL are available then the system chooses whichever it wants, using the other when the first choice produces bad/expired answers.(On .NET Core for Linux, OCSP w
TAG : .net
Date : January 02 2021, 06:48 AM , By : static AG
Error "NU3034 This package is signed but not by a trusted signer"
Error "NU3034 This package is signed but not by a trusted signer"
like below fixes the issue Running nuget trusted-signers list showed I had one trusted signer by the name of "NuGet Test Developer".This was present in %appdata%\NuGet\NuGet.Config under the node.
TAG : .net
Date : January 02 2021, 06:48 AM , By : Simone
Blazor .net version compatibility issues
Blazor .net version compatibility issues
I hope this helps you . Server side Blazor supports Asp.Net Core. But Blazor client side supports only .net standard, as the run time mono, compiled to WebAssembly and run on the browser, is .Net Framework compatible. It is expected that in the futur
TAG : .net
Date : January 02 2021, 06:48 AM , By : browe
How to test async Task method
How to test async Task method
I wish this help you I get the error that cannot assign void to an implicit type variable
TAG : .net
Date : January 02 2021, 06:48 AM , By : mgaspar
this project doesn't know how to run the profile docker
this project doesn't know how to run the profile docker
I hope this helps . you have to get dotnet core SDK and runtime alone, not with nanoserver. It will fix your issue.
TAG : .net
Date : January 02 2021, 06:48 AM , By : Adrian Codrington
Azure Cloud Storage SDK UploadFromStreamAsync storing 0 bytes
Azure Cloud Storage SDK UploadFromStreamAsync storing 0 bytes
To fix this issue I have tested it on my side. And that is true you need to set the stream position to 0 before uploading. Below is my sample code which works well.
TAG : .net
Date : January 02 2021, 06:48 AM , By : evegter
What is the Relaese date for Microsoft Orleans which can support service fabric?
What is the Relaese date for Microsoft Orleans which can support service fabric?
I wish this help you Unfortunately, the Orleans documentation site is still being updated/rebuilt after the 2.0 release and a number of pages can only be found via search. I searched the documentation site for "Service Fabric" and found the following
TAG : .net
Date : January 02 2021, 06:48 AM , By : alexmajy
Make a string persistent in a .NET application
Make a string persistent in a .NET application
hop of those help? With VS2008 and .NET framework 3.5 you cannot create a manifest that would be needed to modify the app.config if the application is installed in a subfolder of %ProgramFiles% or %ProgramFiles(x86)% as they are specially protected b
TAG : .net
Date : January 02 2021, 06:48 AM , By : Kbotei
How do I configure Cosmos DB .NET 3.0 SDK to serialize with camel case?
How do I configure Cosmos DB .NET 3.0 SDK to serialize with camel case?
hop of those help? It's a bit quick and dirty but to keep you moving until Microsoft exposes the serializer settings of the default serializer, you could copy the existing CosmosJsonSerializer and pass in the JsonSerializerSettings to the constructor
TAG : .net
Date : January 02 2021, 06:48 AM , By : meodudang
Service segmentation fault in AWS EC2
Service segmentation fault in AWS EC2
Hope this helps I have my service running in EC2 (under systemd). It is a self-contained app built for .Net Core 2.1. From time to time (a few times a week) it crashes with SEGV. , How can I investigate the problem further?
TAG : .net
Date : January 02 2021, 06:48 AM , By : dnyaneshwar
How to avoid the compilation error with inconsistent accessibility of class and methods?
How to avoid the compilation error with inconsistent accessibility of class and methods?
hope this fix your issue This cannot be done in C. The .NET virtual machine is more lenient than C, though. There are many features that C does not expose.At the IL level you can call non-public methods just fine. You also can do that using runtime c
TAG : .net
Date : January 02 2021, 06:48 AM , By : glisignoli
"Does not implement IControllerFactory.CreateController" in Visual Studio 2010
"Does not implement IControllerFactory.CreateController" in Visual Studio 2010
should help you out Error went away after I added reference to System.Web.Routing 4.0.0.0. Before this it was indirectly referenced to 3.5.0.0 version (through System.Web.Mvc, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35)Thus i h
TAG : .net
Date : January 02 2021, 06:48 AM , By : Milander
Tabs for a ASP.NET website
Tabs for a ASP.NET website
To fix this issue there are 1001 ways to accomplish the behavior...you can even go with jQuery Tools and load each tab asynchronously from each page
TAG : .net
Date : January 02 2021, 06:48 AM , By : user103892

shadow
Privacy Policy - Terms - Contact Us © scrbit.com