Forgot your password?
Sign in with
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Python questions
View PHP questions
All Message Boards...
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Design and Architecture
Internet of Things
C / C++ / MFC
ATL / WTL / STL
Objective-C and Swift
Hardware & Devices
Hosting and Servers
.NET (Core and Framework)
Site Bugs / Suggestions
Spam and Abuse Watch
The Insider Newsletter
The Daily Build Newsletter
Most Valuable Professionals
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
What is 'CodeProject'?
Ask a Question
Bugs and Suggestions
Article Help Forum
Comments by DeepsMann (Top 35 by date)
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?
Sorry for such a long list of questions.
But I am not able to understand.
Thanks, again for your reply.
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
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.
Presently what I can use as Backend for my Windows 8 Tablet Metro Apps. ?
Can i configure ip address of my system from my application???
Can u please tell me how to use
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
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.
i have updated the question. Hope now its ok...
its working now..
got it... :)
Thanks SAKryukov for your reply,
all these links are really useful.
I have tried using Asynchronous Sockets, and its working fine.
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.
Also, if i update my graphic adapter to a supported one, does this problem will get solved ??
yes, but I think it will not work on mobile browsers.
the answer is Tombstoning.
Not the exception.
I just want to restore previous state of my page.
i got it.
it can be done as-
if (!("enter here".Equals(textBox1.Text.Trim(), StringComparison.OrdinalIgnoreCase)))
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.
i got it...
but what namespace is to be added to get ExifReader
i didn't get it.
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.
i have searched, but everywhere it uses
but System.Drawing doesn't exists in WP7.
but then how can i convert a byte back to image...
i tried this, but it is giving an exception
ConvertTo not implemented in base TypeConverter.
what should i do.
how can i convert this byte array back to image.
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.
I have used isolatedstorage as well...
but then also it doesn't work...
thanks for ur reply
the height of the textblock/textbox must be auto...
it was a busy week, so i was absent for long.
I've done this as
MediaLibrary ml = new MediaLibrary();
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.
i got it
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.
Last Updated 1 Jan 1900
All Rights Reserved.