Hopefully this isn't a duplicate, but does anyone know of any (good) ORMs that work with SQL Compact Edition, and can run in the .NET Compact Framework (e.g. Windows Mobile 5-6.x)?
What's the best way to configure the maximum number of threads that can pull messages from an MSMQ queue, using a netMsmqBinding in WCF?
For example, say I have an MSMQ service for which I only want to have 2 (or 10, or whatever number of) worker threads pulling messages off at a time.
Hi,
It seems like not so long ago that it was standard to have icons/images in context menus and Microsoft seems to keep this up.
But nowadays it seems to have disappeared in other apps: Chrome, iTunes etc.
Anyone have an opinion / idea why this has happened or is it just completely personal taste (I for one like the images).
A.
I'm working on a blog and want to show my posts in eastern time zone. i figured that storing everything UTC would be the proper way. This creates a few challenges though:
I have to convert all times from UTC to Eastern. This is not a biggie but adds a lot of code.
And the "biggie" is that I use a short-date time to reference the posts by passing…
I am using the MSDN Dynamic linq to sql package. It allows using strings for queries.
But, the returned type is an IQueryable and not an IQueryable<T>. I do not have the ToList() method.
How can I this immediate execute without manually enumerating over the IQueryable?
My goal is to databind to the Selecting event on a linqtosql…
I would like to change the Position of the map in google maps v2
But Ive done it in a TimerTask ... target, zoom, bearing and so on and it says
"IllegalStateException - not on the main thread
What should I do? Any help?
class Task extends TimerTask {
@Override
public void run() {
CameraPosition cameraPosition = new…
Currently within my Project we are using JSDoc, we have recently started to implement Angular and I want to continue using JSDoc to ensure that all the documentation is within the same place.
I have taken a look at people mainly just saying to use ngDoc but this isn't really a viable option as we will always have separate JavaScript and…
I have a linq to sql table/class that uses a GUID as both a primary key and as foreign key.
This problem came up when factoring some code that previously worked.
The exception generated is
"Operation is not valid due to the current state of the object."
The process I use is as such:
aspnet_User user() = new aspnet_User();…
Following up my previous question, I'm slowly getting the hang of FParsec (though I do find it particularly hard to grok).
My next newbie F# question is, how do I extract data from the list the parser creates?
For example, I loaded the sample code from the previous question into a module called Parser.fs, and added a very…
How do I prevent SQL injection when it comes to ColdFusion? I'm quite new to the language/framework.
Here is my example query.
<cfquery name="rsRecord" datasource="DataSource">
SELECT * FROM Table
WHERE id = #url.id#
</cfquery>
I see passing in url.id as a risk.
When making games for windows 7 phone will there be separate places for XNA based games and silverlight games? I'm curious how this will work.
Are all XNA based games going to work out of box? How would someone differentiate an app developed specifically for phone vs just a port?
I am using GAE datastore with python and I want to count and display the number of records between two recent dates. for examples, how many records exist with a time signature between two minutes ago and three minutes ago in the datastore.
Thank you.
#!/usr/bin/env python
import wsgiref.handlers
from google.appengine.ext…
When I go to these examples using Firefox 3.6.3 and click the code examples it doesn't work:
http://msdn.microsoft.com/en-us/library/1whwt1k7.aspx
I want confirmation that this is a Firefox compatibility problem, suspect my firewall.f
This goes back to my other question which I thought was sufficiently answers but upon reflect am not sure that it was (sorry).
Backgrounder:
I am generating a form dynamically. I am pulling from the database the controls.
I must associate each control with a database ID which is not the user's session id. I do this…
Is there a way to detect whether or not an object has called GC.SuppressFinalize?
I have an object that looks something like this (full-blown Dispose pattern elided for clarity):
public class ResourceWrapper {
private readonly bool _ownsResource;
private readonly UnmanagedResource _resource;
public…
Is it possible to specify the application icon for a windows mobile app from a resource file or other configuration besides the .csproj?
The reason I would like to do this is because I have an application that can be configured to run in several different ways. We would like to build out three unique .cabs…
What are the best or most useful dev-related PowerShell modules that exist today? Not looking for sys admin management tools for Active Directory/Microsoft Exchange/etc., but more for development utilities.
Please list one module per answer, so they can be voted up accordingly.
I'll provide a few to start…
Why does SQL server 2008 always warn about needing to drop tables to rename columns? I was under impression this was not required unless it was a key. If I change a column from null to not null even if is not a key field it wants to drop table and all relations.
Hi,
Is there any inbuilt way in C# to split a text into an array of words and delimiters?
What I want is:
text = "word1 + word2 - word3";
string[] words = text.Split(new char[] { '+', '-'});
//Need list '+', '-' here?
Any ideas? Obviously I can just process the text by hand... :)
How can I prevent Visual Studio from naming the classes for new pages that are in folders from being named with the folder name? Does this method not set "right" with anyone else?
Is there an alternative to the ActiveSync "Explore" for looking at the file system of a Windows Mobile device? (This same thing can also be accessed from My Computer - Mobile Device). It would be nice if you could just navigate into the device and view or edit files without having to copy them back and…
I am fairly new to F#, but have spent the last few weeks reading reference materials. I wish to process a user-supplied input string, identifying and separating the constituent elements. For example, for this input:
XYZ Hotel: 6 nights at 220EUR / night
plus 17.5% tax
the output should resemble…
I'm auto-generating a form in my ASP.NET page. This is already tested and working. I want to know if:
If there are any security problems with storing the database ID as part of my controls ID? I can see think of 2 issues: the id will be visible in page source (not really important in this case), and…
How can I open a new browser tab in ASP.NET and write to it? I don't want to redirect to a page but I want to write/output the content directly from source.
I am a beginner Java programmer. I am attempting to make a simple text editor. I have got the text from the text field into a variable that's a String, called "text".
My question is, how can I save the contents of the "text" variable to a text file?
Thank you!