Questions tagged [.net-3.0]

.NET Framework 3.0, formerly called WinFX was released on 21 November 2006. There are no major architectural changes included with this release. .NET 3.0 includes WPF, WCF, WF and CardSpace

.NET Framework 3.0, formerly called WinFX was released on 21 November 2006. There are no major architectural changes included with this release; .NET Framework 3.0 uses the Common Language Runtime of .NET Framework 2.0

.NET Framework 3.0 consists of four major new components:

Windows Presentation Foundation (WPF), Windows Communication Foundation (WCF), Windows Workflow Foundation (WF) and Windows CardSpace.

Version Number: 3.0.4506.30
Release Date: 2006-11-21

More on Wikipedia

113 questions
0
votes
3 answers

Is it better to store your information in a single parent class or a central static class

I am wondering which is a better way to store information? A central static class or in a parent class? The code for the way I am storing it now. I instanciate a new class everytime. Parent Class: public partial class frmEmployeeManager: Form …
John
  • 13,197
  • 7
  • 51
  • 101
0
votes
2 answers

Can't find Html.TextBox

I am trying to get an old application that was written using a mvc preview version and have run in the following problem. <%= Html.TextBox("Register_Name", ViewData.Model.Register.Name, 20, 30, new { _class = "textInput username" })%> This is the…
Revvion
  • 3
  • 1
0
votes
4 answers

Is there a "data type" to that can store both Combobox items and ListBox items?

What I am trying to do is pass a list of items to a method rather than the item itself.
John
  • 13,197
  • 7
  • 51
  • 101
0
votes
1 answer

Web application using c#.net Core internal server error 500

Until 2 hours ago my app worked. In postman my server was called and responses were good. I received a notification about upgrading VS2019, so I did. Now every time i send a request to server from postman i get this error: I tried to downgrade to…
Sami
  • 141
  • 2
  • 10
0
votes
1 answer

Unable to resolve service for type 'FlexibleConfiguration.Abstractions.IConfiguration' in .Net Core 3.0 Web API

I am trying to add authentication and policy based authorization to .net core 3 Web API. However, I am getting a strange error after adding the policies. I'm very new to .net. I cannot pinpoint what exactly is causing this error, it (obviously)…
Cricket
  • 15
  • 2
  • 4
0
votes
1 answer

Cross framework performance hit

I have a .NET 3.5 WinForms project that uses several 3rd party controls and a couple of home-grown components that are compiled for the 1.1 framework. Is there a performance hit for using 1.1 components?
AngryHacker
  • 59,598
  • 102
  • 325
  • 594
0
votes
1 answer

Using .NET 3.0 What is a good replacemet for thread resume and suspend

I am restricted to .NET 3.0: this is an externally imposed requirement. I need to process strings from a Generic.Queue. The main thread will Enqueue strings and the worker thread will Dequeue strings and then process them. At the top of the worker…
Display name
  • 1,228
  • 1
  • 18
  • 29
0
votes
1 answer

Elegant way to connect an enum value to a method group

I'm creating a networked application. For this I'm creating a messaging system. What I've got so far (a snippet at least...) public static byte[] ClassToBytes(GenericMessage Data) { int Size = Marshal.SizeOf(Data); byte[] Buffer = new…
Geoxion
  • 448
  • 1
  • 4
  • 14
0
votes
1 answer

.NET 2.0 and 3.0 WebRequest Not Working

For a few weeks, I've been trying to fix an issue which appeared from nowhere. The issue is, that whenever I try to create WebRequest, it fails with a NotInitialized exception. It's not just the new code, also older apps which used to work well are…
Dex
  • 164
  • 1
  • 2
  • 18
0
votes
1 answer

Upload jpeg encoded bitmap to server with httpwebrequest

I've been trying to upload an image (jpeg formatted) to the server. I've used some different approaches, but none of them worked. APPROACH 1 I've tried saving the jpeg data directly to HttpWebRequest stream: //Create bitmap. BitmapImage^ bm = gcnew…
JMRC
  • 1,473
  • 1
  • 17
  • 36
0
votes
1 answer

Errors calling WriteFile from visual basic .net 2010 on a named pipe

I've been banging my head on this one all day, and I just can't make sense of the various (sometimes conflicting) documentation on this. To add to the confusion, at some point during the day, this did (sort of) work - i.e. didn't throw an access…
dsl101
  • 1,715
  • 16
  • 36
0
votes
2 answers

Italicizing characters in a RichTextBox

I found how to make text bold in code: richTextBox1.Rtf = @"{\rtf1\ansi This is in \b bold\b0.}"; But I also need how to make text italic. Google doesn't give me much. I tried this (similar to bold, but with different character) but that doesn't…
Natrium
  • 30,772
  • 17
  • 59
  • 73
0
votes
3 answers

Multithreaded foreach

I have list of ReferenceIDs (string) in a dataset. These ReferenceIDs can have values like this ("CQ1258891","CQ1258892","CQ1258893"....""CQ1258993"). I have a logic in my code to send a mail for each ReferenceIDs. As of now I am looping through…
Sriram B
  • 651
  • 2
  • 8
  • 20
0
votes
1 answer

Mailmessage 4.0 work in framework 3.0

I have one class, work in framework 4.0, but not work in framework 3.0. I need this working in framework 3.0. I need help for work in 3.0 framework it is possible? public void EnviarEmail(string Titulo) { MensagemEmail.To.Clear(); …
0
votes
0 answers

Window which points to the system tray

Is it possible to create a Window which "points" to the system tray icon which was clicked to invoke it? I don't know what the arrow is called so I am attaching a picture to make myself clearer. WPF does not support notification icons so the system…
341008
  • 9,862
  • 11
  • 52
  • 84