Click here to Skip to main content
15,067,653 members

Comments by Member 9549287 (Top 14 by date)

Member 9549287 19-Aug-13 13:14pm View
   
you may want to check whitespaces at the end of the encrypted password
Member 9549287 18-Aug-13 17:11pm View
   
Deleted
are you familiar with Triggers?
Member 9549287 17-Aug-13 6:32am View
   
you can do that by making sure the itemsource items are unique. use the .Distinct().Tolist() to achieve that for system variables or create a stub for objects
Member 9549287 14-Aug-13 19:24pm View
   
then that'd mean he has to execute at least two different sections of code, or functions . one the deals with normal protected file mode and the other without protection(for admins)?
Member 9549287 14-Aug-13 19:23pm View
   
Deleted
then that'd mean he has to execute at least two different sections of code, or functions . one the deals with normal protected file mode and the other without protection(for admins)?
Member 9549287 14-Aug-13 13:18pm View
   
what would be the point of putting a checkbox to an application endpoint where the user already has the file. I'd suggest everyone who opens the file enters an appropriate password, else no access. Adding the checkbox beats the whole idea of post-download security...i think.
Member 9549287 14-Aug-13 13:12pm View
   
where exactly are you identifying or logging users who use the service?
Member 9549287 13-Aug-13 15:21pm View
   
you should go through linq to entities mapping tutorials. hope these help:

http://msdn.microsoft.com/en-us/library/bb386964.aspx

http://msdn.microsoft.com/en-us/library/dd456828.aspx

http://msdn.microsoft.com/en-us/library/bb896297.aspx
Member 9549287 13-Aug-13 14:56pm View
   
The second part where you try throwing your object from the service, you have to specify the data members for the service to identify. they'd work fine if you were using it locally within the service, to send them asynchronously, the service has to know the service contract, datacontract and datamembers.as for the first scenario, the error occurs mostly if there is something wrong in the web.config.
Member 9549287 12-Aug-13 9:07am View
   
in your client app, have you tried right clicking on the service reference you added, gone to 'configure service reference' . In 'Collection Type' you may try selecting 'System.Collections.Generic.List' for your case
Member 9549287 12-Aug-13 4:37am View
   
<pre lang="c#">

public object somefunction()
{
var res = new object();
...

try
{
...
//some code that for some reason always results in an exception
...
return res;
}
catch
{
return null;
}
}

</pre>

I'm not sure which your case is, but you could try using the wcftestclient with breakpoints in your code to know exactly where the problem occurs.
Member 9549287 12-Aug-13 4:37am View
   
as of now I can't really tell what's wrong with your code unless i see a snippet. the specific function seems to always return null. a common problem when an implementation similar to this:
Member 9549287 10-Aug-13 15:39pm View
   
the " { ... } " meant you had to replace the entire {DataGridItemSource} with the variable or view model where your data grid is getting it's values.
Member 9549287 8-Aug-13 15:06pm View
   
The code actually works fine with images stored locally within the application, but when i use a photochooser task to select an image, then save the UriSource of the image into the database for later use, and try loading the image back to an image control in the application, it doesn't display anything. I'm using the standard .cs and .xaml