Unfortunately, I don't. I've never actually used that event. But I think Visual Studio uses something similar - the output window usually shows first-chance exceptions in the log when you're debugging.

"These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

I would like to place tags on 20 documents that are located in labeled folder. After the tags are place like the zipcode, age, and other applicable choices that are located within the conditional survey it should filter based off the person choices and and the specification of the documents was able to filter because of the tags placed in the folders where docs are inside. And once the survey is submitted it will display the folder with doc9 documents that's applicable.

The Master said, 'Am I indeed possessed of knowledge? I am not knowing. But if a mean person, who appears quite empty-like, ask anything of me, I set it forth from one end to the other, and exhaust it.'
― Confucian Analects

Please let me know if this is not the correct location in the boards for this post. I did not see a section for cryptography or for Security.

A piece of accounting software we use that is for a vertical industry use to store our users passwords in a RDBMS as plain text. They did use a substitution cipher so the password was encrypted at a very basic level. They also used a location specif substitution. I don;t know if that is the correct term for this type of substitution cipher but its where the letter you replace changes based on the original character and its position within the encrypted text. For example if the password was password then the text stored might be h^e)7ght . Even though the s is listed twice its substituted text is different because the first instance is in the 3rd position and the next is in the fourth position. The substituted character was always the same based on original character value plus its postilion so the lower case s was always stored as a lower case e when it was in the third potion of any users password. I hope that properly conveys the encryption method the software used and if there is a proper term for this kind of substitution cipher please post and let me know.

With the most recent update the software vendor has moved to a more complex encryption method and I'm puzzled by it because the encrypted text consist of fewer characters then its source. For example if the password is password then the encrypted text consists of 64 characters. If the password is paswordpasswordpassword the encrypted text is 64 characters long. I assume that when the password is less then 64 characters then the process is padding the rest. What puzzles me is when we use a password that is greater then 64 characters in length. If i create a password that consist of 70 characters the encrypted text is still only 64 characters in length. I'm new to this so this may be a dumb question but how can you use fewer characters then the source text you are encrypting?

And remember: if an app has any European Union users then GDPR applies and that means you need to handle passwords as sensitive data and stored them in a safe and secure manner. Text is neither of those and the fines can be .... um ... outstanding. In December 2018 a German company received a relatively low fine of €20,000 for just that.

I am writing a Unit Test for the method, which has two methods of the same Service are being called, Test method is for the exception case, in one method the Service should return null, it is doing properly, but in the next method it should throw ApplicationException, but it is not throwing, there is no other way to make exception thrown as I need pass the request object and it won't fail there and then calling the Service.
Below is the code for Unit Test, any help would be very very helpful

If you have seen it here, the _xxxAuthAdminProxy is being called with two different methods 1. GetUserByNameAsync and 2. CreateUserAccountAsync, when condition that needs to happen is GetUserByNameAsync method should return a null where as CreateUserAccountAsync method should throw an exception. any help would be greatly helpful - thanks in advance.

I think you need to pick an exception that's a little lower in the food chain; you're targetting what would be intended for an app level handler.

Quote:

You should derive custom exceptions from the Exception class rather than the ApplicationException class. You should not throw an ApplicationException exception in your code, and you should not catch an ApplicationException exception unless you intend to re-throw the original exception.

"(I) am amazed to see myself here rather than there ... now rather than then".
― Blaise Pascal