15,797,050 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Python questions
View PHP questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by DeepsMann (Top 35 by date)
DeepsMann
7-Aug-13 0:41am
View
Hi Pawel
Thanks for reply.
I switched to database first in that project. Though I will try Code first and this template.
Till now i couldn't understand why it was taking 30-40 seconds.
I came to read everywhere that its too long time.
But why? Is it my WCF services, is it the network, database, IIS or Entity framework.
Because i tried using classic asp.net approach of using SQLConnection class and connecting to database. And its performance was much better. So, what is the benefit of using a functionality which lessen the performance of your site?
Please explain.
Sorry for such a long list of questions.
But I am not able to understand.
:)
Thanks, again for your reply.
Deepti
DeepsMann
14-Mar-13 0:47am
View
Hi Andy,
Thanks for reply.
I tried using a test method. It doesn't take that much time. Now I figured out that the problem was with EF. The views generated were not working.
I was using Code first approach. And I generated views for performance improvement. But there was no change. So, I tried switching to Database first and then i created views. And the time reduced to 10 seconds from 40 seconds.
Then, I tried your 3rd point, and it helped. The time now reduced to 5 seconds. Thanks
DeepsMann
16-May-12 7:04am
View
Thanks,
It didn't solved my problem, but helped me a lot.
Finally what i did is:
Created Registry Key while installing application and saving ProductCode there.
Created another application (app2) just to get registrykey if exists and uninstall application by its ProductCode using msiexec.exe.
Put them all in sfx file and executed the app2 before extraction and the installation continues after extraction.
DeepsMann
13-Apr-12 4:57am
View
Thanks Steve,
Presently what I can use as Backend for my Windows 8 Tablet Metro Apps. ?
DeepsMann
26-Mar-12 6:18am
View
Can i configure ip address of my system from my application???
DeepsMann
26-Mar-12 3:43am
View
Thanks..
Can u please tell me how to use
INetFwMgr.IsPortAllowed
DeepsMann
26-Mar-12 1:07am
View
Deleted
Thanks.. but i tried this link before: http://www.shafqatahmed.com/2008/01/controlling-win.html
I added hnetcfg.dll
but i m not getting
"NetFwTypeLib"
DeepsMann
19-Mar-12 2:16am
View
Thanks..
I solved the problem...
of course the problem was with graphic adapter, but also, i think the installation was not proper..
I uninstalled everything, VS 2010, WP7 sdks etc.. and reinstalled them properly.
and now its working....
thanks once again.
DeepsMann
15-Mar-12 7:12am
View
i have updated the question. Hope now its ok...
DeepsMann
28-Feb-12 0:41am
View
Amund, thanks..
its working now..
:)
DeepsMann
28-Feb-12 0:41am
View
Thanks Mark..
got it... :)
DeepsMann
7-Feb-12 6:05am
View
Thanks..
DeepsMann
17-Jan-12 0:10am
View
Thanks SAKryukov for your reply,
all these links are really useful.
BTW
I have tried using Asynchronous Sockets, and its working fine.
DeepsMann
2-Jan-12 4:25am
View
Hye Andrew,
Thanks for the reply..
if the problem is with graphic adapter, then, why i can view all the WP7 controls and also the html tags in a web browser control (when a saved html file is opened with it).
Is this problem arise only when we try to open a html page in our .xaml page as a phonegap application.
plz explain.
Also, if i update my graphic adapter to a supported one, does this problem will get solved ??
Please help..
DeepsMann
15-Nov-11 5:59am
View
yes, but I think it will not work on mobile browsers.
DeepsMann
2-Mar-11 2:07am
View
Thanks.
DeepsMann
25-Feb-11 0:48am
View
thanks
DeepsMann
21-Feb-11 2:05am
View
the answer is Tombstoning.
DeepsMann
21-Feb-11 2:05am
View
Not the exception.
I just want to restore previous state of my page.
DeepsMann
18-Feb-11 5:43am
View
i got it.
it can be done as-
if (!("enter here".Equals(textBox1.Text.Trim(), StringComparison.OrdinalIgnoreCase)))
{
// code
}
{
DeepsMann
18-Feb-11 0:30am
View
hye,
In the application in WP7 i m working,
I have a textbox whose place holder text is "Enter Here"
As i click on the textbox it gets blank and i can write some text
and click on the button to navigate to some other page.
Now i want that the text "Enter Here" or its any combination in Lower and Upper Case
like- "Enter here", "enter Here", "EnTer Here", "ENTER here" "Enter HERE" etc should not be a valid text and one cannot navigate to other page.
Now i have tried, but it was too long and not a good approach.
What should i do.
is there any way to make all posiible combinations of a text.
Thanks in advance.
DeepsMann
14-Feb-11 3:53am
View
thanks...
i got it...
DeepsMann
14-Feb-11 0:35am
View
thanks,
but what namespace is to be added to get ExifReader
i didn't get it.
DeepsMann
12-Feb-11 3:36am
View
Thanks
DeepsMann
31-Jan-11 4:50am
View
thanks,
but i have done the same.
i have converted the byte[] to MemoryStream and then using
WriteableBitmap bimg = PictureDecoder.DecodeJpeg(memoryStream);
i tried to convert it to image.
now what should i do.
please provide some sample if u can.
DeepsMann
31-Jan-11 4:46am
View
i have searched, but everywhere it uses
System.Drawing.Image.FromStream(stream);
but System.Drawing doesn't exists in WP7.
DeepsMann
31-Jan-11 4:39am
View
thanks,
but then how can i convert a byte[] back to image...
DeepsMann
29-Jan-11 7:49am
View
thanks,
i tried this, but it is giving an exception
ConvertTo not implemented in base TypeConverter.
what should i do.
and also,
how can i convert this byte array back to image.
DeepsMann
29-Jan-11 7:42am
View
Deleted
thanks.
i converted my image to byte.
i can now store it into my database.
but now how can i convert this byte array back to image.
please reply.
DeepsMann
24-Jan-11 2:25am
View
thanks
DeepsMann
24-Jan-11 2:13am
View
hye Yusuf
I have used isolatedstorage as well...
but then also it doesn't work...
thanks for ur reply
DeepsMann
22-Jan-11 8:20am
View
"For ALL"
the height of the textblock/textbox must be auto...
DeepsMann
18-Jan-11 1:04am
View
Thanks,
it was a busy week, so i was absent for long.
I've done this as
e.ChosenPhoto.Seek(0, 0);
MediaLibrary ml = new MediaLibrary();
ml.SavePicture("CaptureFileName", e.ChosenPhoto);
and it is saving the camera captured photo in a folder named "Saved Pictures"
is there any way to save it in the existing folder "Camera Roll"
btw thanks for ur reply.
DeepsMann
11-Jan-11 7:55am
View
Thanks..
i got it
DeepsMann
8-Jan-11 8:18am
View
yes, i've tried right now. but while using update layout event of textblock it displays the
content one character per line. and if i don't use this event the previous problem persist.
thanks for reply.
Show More