-
- Query from Expression
by CompuBoy
- 1 Replies
- Last post
by Colin Meek - Microsoft
- What I am looking for in LINQ to SQL and haven't found yet is some way to construct an IQueryable<T> (i.e. DataQuery<T> object) from an Expression instance. It may seem to be useless at the first look considering the fact that IQueryable<T> is constructed automatically from the query and its equivalent expression is attached to it (via Expression property). But in my case, I thin
-
- How to know when an Animation is really, completely done?
by Jeremy Chaney
- 11 Replies
- Last post
by Jeremy Chaney
- I have an animation that changes the position of a control in my UI. When the control finishes moving, I then run some additional code that requires the control's final position. I've added a handler for my storyboard's "Completed" event, and it does get called. The problem is that when it gets called, the control isn't really finished moving. I added an event handler (PositionChanged) f
-
- Install Beta 2 on main machine?
by ncage
- 2 Replies
- Last post
by ncage
- Hi everyone and first of all thank for reading my post. I am thinking on breaking my standard "never install beta software on my main machine". I am really considering installing Visual Studio 2008 Beta 2. What ive heard for the most part is people think VS2008 is very stable and very good at this point. This is on my main machine at home its not on my computer at work. I do develop my o
-
- Locking Hints and LINQ
by Tim F. Fischer
- 14 Replies
- Last post
by Tim F. Fischer
- Hi there, is it possible to do locking hints like NOLOCK or pessimistic locking hints in DLINQ and LINQ for Entitities as well as in eSQL Thanks Tim
-
- Dynamically adding Hyperlinks
by cxggfr
- 1 Replies
- Last post
by lee d
- Could you please let me know how to add the hyperlinks dynamically (through code) in wpf application
-
- What is the role of App.config in WCF Service Library projects?
by Robert Green
- 1 Replies
- Last post
by Christian Weyer
- When I create a WCF Service Library project, VS adds an app.config file.
If I host the service in a console or windows app, I need an app.config there.
If I host the service in IIS I need a web.config there.
I don't need an app.config in the service project itself, do I Is it simply there to to be copied into the app.config or web.config of the host
Robert
-
- Freezing Client
by rnby
- 14 Replies
- Last post
by Buddhike de Silva
- Hi,
I have the following question.
When I try to run somehting on the server from my client (windows form) the client freezes until the server is finished.
What I want is to display a progress bar or something moving but not that it freezes and if you try to click on the form to make it active it tells you (Not Responding) till the server is finished.
Below is the code I use to con
-
- LINQ to SQL sproc with sequential results not returning anything
by jpbrassard
- 4 Replies
- Last post
by jpbrassard
- I've been tearing my hair out over this one for a couple of days, and haven't been able to find anything about this particular problem online, so hopefully someone here has experienced the behavior or something like it and can point me in the right direction.
I'm evaluating LINQ to SQL (formerly DLINQ) for our data access layer. Using VS2008 Beta 2. I've created the dbml file in VS, dragged
-
- Explaination of different timeout types
by Bastian W.
- 11 Replies
- Last post
by GavinJ20011
- When I configure a binding I can overwrite several default timeout settings. For example there are: OpenTimeout CloseTimeout SendTimeout ReceiveTimeout InactivityTimeout ... What exactly does each timeout stand for The WCF documentation says "...timeout for an open operation to complete..." for the OpenTimeout for example - but what does this mean exactly Maybe some of you can bring so
-
- Overrride OnRender for TextBox
by Siana
- 2 Replies
- Last post
by soniadaku
- Helllo all,
i have created a new custom text box.
If it is in the edit mode... I want to display some ellipsis to a long text.
I have overridden the OnRender function of the text box. how ever I see both the custom rendered text and the old text....
Any ideas
Sonia
-
- Server Data is not Synchronized if it is modified/created by client.
by ParthaP
- 2 Replies
- Last post
by Yunwen Bai
- HI,
I am using SyncGuru.Com (N-Tier Demo to develop an application). During testing the application I had marked one thing, that is discussed below. I dont know if it is a bug or any mistake that I am doing in my application.
If my Client application is modifying a record or inserting a record to the Enterprise Database and after that I stop the application and use a blank database a
-
- C# 3.0 feature request: Better use of type inference in collection initializers
by FalconNL2007
- 3 Replies
- Last post
by FalconNL2007
- Hello everyone, I hope this is the right forum to post this question. I've been using C# orcas beta 1 for a few weeks now and I love all the new features that were introduced. Yesterday however I ran into something that I think is not nearly as elegant as it could be, and that is the current state of collection initializers. I wanted to make a dictionary to map a filename to an internal name and a
-
- Inheriting User Controls
by PeterK
- 14 Replies
- Last post
by Yi-Lun Luo - MSFT
- I'm having a problems inheriting a user control, Visual Studio keeps generating a file for each user control and it's stuffing it up.
Here is what I've got:
Project UserControl1.xaml UserControl2.xaml UserControl3.xaml
All I've done is in UserControl2.xaml.vb and UserControl3.xmal.vb is changed them so they inherit from UserControl1 instead of System.Windows.Controls.Us
-
- Calls outstanding performance counter
by Someone_At_Somewhere
- 1 Replies
- Last post
by Wenlong.Dong
- Hello, Does anyone know what controls the behavior of this counter I'm consistently seeing this max out at 400, but can't find what limits/controls this. My service scales up fairly well until the Calls Outstanding counter reaches 400, at which point the average response time starts increasing.
Thanks!
Here's my service config:
<bindings> <basicHttpBinding> <bindin
-
- How to return Interface type in WCF?
by Alexonder
- 13 Replies
- Last post
by giudim
- Hellow everybody!
I have service with test method. Return type of this method is interface, NOT class.
public class Server : IServer
{
#region IServer Members
public I EntityInfo GetEntityInfo( string className)
{
return new EntityInfo ( className, className.ToLower(), " " );
}
#endregion
}
[ ServiceContract (Namesp
-
- WPF3D 3D - Viewer Performance
by mcdvrd
- 14 Replies
- Last post
by RHogue
- I am new to using WPF3D, but I am an experienced OpenGL and OpenInventor programmer and was investigating the feasibility/desirability of porting some of our 3D applications to the Windows platform. The application of interest is written in OpenInventor from Silicon Graphics/TGS. Interestingly, OpenInventor is a high-level Scene-based API that allows the user to describe a scene using a scene-grap
-
- "There was an error reading from the pipe" error
by rPramod
- 3 Replies
- Last post
by Robert te Kaat - IS
- I have recently started using the WCF. In a project that I am working on, I implemented a WCF Service Contract with NetNamedPipeBinding. The Service is being run In Proc using a ServiceHost.
The Service was working fine and as desired, until the Service Contract changed. It then started throwing the following error :
Type : System.IO.PipeException, System.ServiceModel, Version=3.0.0.0, Cultu
-
- Beginner: Read/Write xaml file
by psydney
- 5 Replies
- Last post
by psydney
- I'm trying to read an existing xaml file, change itsTextBlock Text value, and resave the xaml file. This is what I'm trying and the exception I'm getting. Could someone please tell me what I'm doing wrong and how to do it properly
Canvas canvas = null ;
using ( FileStream fs = new FileStream ( "C:/temp/test.xaml" , FileMode .Open, FileAccess .ReadWrite))
{
canv
-
- How to pass generic data types and interfaces across WCF components
by PraveenVn
- 2 Replies
- Last post
by Nathan Anderson - MSFT
- Hi,
I have couple of WCF compoents that are interacting with each other. I facing some issues while passing the data accorss these components.
1) I am trying to create a structure which can actually store any data value of any type( basically a Variant). Can I use Object class to store any data type values that I need to send acorss the WCF component I am not sure if it works how it
-
- Extensibility of entity model
by cobain81
- 2 Replies
- Last post
by cobain81
- Hi,
I'm building a generic framework. A goal of this framework is to be adaptable to several domains. So, I have some entities (almost the same in all domains) and a set of interfaces that I'll implement in specific entities for each domain. Entities contain references to interfaces
Is it possible with ado.net vnext to create a sort of "abstract" entity model available to solve
-
- How to limit mouse cursor area?
by V&#237;tor
- 6 Replies
- Last post
by Rainer Engblom
- Hello to all!
How I could limit the mouse cursor to specific area in WPF
Thanks
-
- Can't install the .NET 3.5 framework on Vista
by Peter1979
- 11 Replies
- Last post
by tonypujals
- Using either the standalone install or the Orcas beta 1. I get:
[05/04/07,16:18:32] Microsoft .NET Framework 3.0SP1 WF (CBS): [2] Error: Installation failed for component Microsoft .NET Framework 3.0SP1 WF (CBS). MSI returned error code 1 [05/04/07,16:27:11] Microsoft .NET Framework 3.0SP1 WF (CBS): [2] Error: Installation failed for component Microsoft .NET Framework 3.0SP1 WF (CBS). M
-
- consume wcf service
by Tal88
- 6 Replies
- Last post
by Jeroen Sneyers
- I have a com+ hosted wcf service, im trying to consume the wcf service from a web site project.
I tried to add a reference to the service (with add reference tool) but got the following message: "The HTML document does not contain Web service discovery information."
(I used the comsvcconfig with complus hosting mode).
how can I solve this
-
- Parent-Child Relationships and Inheritance
by MichaelD&#33;
- 5 Replies
- Last post
by MichaelD!
- Hey there!
I'm building a little framework on EF that functions much like the ASP.NET WebControl framework. There is a base control (Control) with various objects that extend this control, and then a "hosting" Page object that also extends Control.
The problem comes with the mapping. How do I get the Page object to inherit from the Control class and also have its own storag
-
- simple http get and put
by Bulldog Drummond
- 1 Replies
- Last post
by Jonathan Allen
- Hi,
I have a application that needs to perform a a simple http get, the reply is a short string.
However hard i look, I don't seem to be able to find a way of doing this, someone tell me I am a dumbo by showing me how. Please
Bulldob Drummond