@Mr.Toxy Unreal Engine is open and free, CryTek engine is open and free, Unity is open and free. With these 3 great choices, honestly, fuck whatever Far Cry uses.
@HarshilShah I assume you've included a reference to jQueryUI and the dialog method is available if you call it from the command window / debugging tools?
@Phil.Wheeler yes i have included JQueryUI.js and .css both files. i didnt get you about dialog method. can you explain little bit what you want to tell me ?
for webforms, everything is build upon a "Page", which all UI component and crap and shit need to be all constructed, which basically means it is going to be dead heavy to test any method in Page class, but you still have to do that
on the other hand, a Controller in MVC is much lightweighted and don't contain any UI bullshit, you can construct a controller is much lighter manner without any problem
If you open your browser's web debugging tools, go to the console and type $('#result').dialog() what happens? Why don't you post what you have into a JSBin window and provide a link for that? This can't be that hard to get working.
Hello, people. I have a list of units _units = List<Unit>. Unit has an OwnerId property. I need to group _units by same OwnerIds and form _unitsByOwnerIds = Dictionary<int, Unit[]>, where key would be a value of OwnerId and Unit[] - an array of units with equal OwnerIds. What would be the best way to implement such logic (I am looking for nice and cute suggestions, not just a bunch of loops :) )?
is this situation possible: I have a method in which I create another thread - can I finish the method in this new thread? and skip all the code that's in the main thread of method?
I have my WCF service in which one line of code is problematic - 1 in ~50 requests, this line of code is executing without end and when that happens, WCF service is hanging until it timeouts. Since it has:
[ServiceBehavior(InstanceContextMode = InstanceContextMode.Single,
Concur...
@tweray can't do that, there can be many requests to service, and each one takes ~15 second (if there are no errors) and service is qeueing the requests. If I set timeout the ones furthest in the queue are going to receive timeout
@TomW I don't want to make it faster, I want to ommit the line that makes problem, if the problem occurs. And since it's happening in one line of code, and it cannot be catched by exception, I am trying to find another way. It doesn't have to be thread even, I just don't have any other idea
fire and forget: Mrs Mainthread throw some job to Mr TaskFactory and says "just do this and don't even tell me the result, just make sure you finish it if you can". then move on with her life
and again, if you just want to keep the wcf in single threaded mode and simply don't want any operation to take longer than certain time, just do what i said, set the receivetimeout on binding
I would like to build up an own licensing system (a small one) for some tools of mine. I've thought about something like HWID, but not HWID itself. Theres too much about faking the hwid around the internet.
It has to work for virtual machines too. I've already tried to pick the CPU-Version and hash it. But thats not available for virtual machines. Getting an error the object is null. I know, CPU-Version is not save blabla. Was just a try.
Microsoft.IdentityModel.Tokens.SecurityTokenSignatureKeyNotFoundException: IDX10501: Signature validation failed. Unable to match 'kid': 'xxxxxxxx' I'm at a loss.
A licensing tool that enables you to hand out license keys without knowing what computer it runs or, nor can that said computer connect to the internet, nor do you really know what kind of computer it is. It's impossible.
Yeah you basically want a licensing system that uses no server whatsoever, not even to generate a first time key or do a first time auth or anything. That means the entire fucking system is self reliant and not depending on anything outside of the actual computer. Aka it won't work at all.
I used to send them a licesing tool that shows up their id. I converted it for security reasons and inserted it into the tools that should get licensed for this user. The tools at startup picked up the id from the computer they are running on and compared it to a list of allowed-users.
So I need something hardware related thats available on EVERY system (windows). Even on virtual machines where for example the whole cpu-properties arnt saved.
@JonathanYanivBenAvraham your contentService is null, I'm assuming you already knew that, make sure ApplicationContext.Current actually returns something
@JonathanYanivBenAvraham it is one of the worst error messages on .net but that's what its telling you, contentService is null so calling SaveAndPublish on null throws an exception