9,867,803 members (41,870 online)
Visit CodeProject.TV
Discuss CodeProject.TV
Sign in
Email
Password
Forgot your password?
Sign in using
home
articles
Chapters and Sections
>
Search
Latest Articles
Latest Tips/Tricks
Top Articles
Beginner Articles
Technical Blogs
Posting/Update Guidelines
Article Help Forum
Article Competition
Submit an article or tip
Post your Blog
quick answers
Ask a Question
View Unanswered Questions
View All Questions...
C# questions
ASP.NET questions
VB.NET questions
C#4.0 questions
C++ questions
discussions
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work & Training Issues
Design and Architecture
ASP.NET
JavaScript
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
Adobe Technologies
C#
Free Tools
Objective-C
Ruby On Rails
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
.NET Framework
Mobile
VS 11 & .NET 4.5
Sharepoint
Silverlight / WPF
Visual Basic
Web Development
Site Bugs / Suggestions
features
Component & Service Catalog
Competitions
News
The Insider Newsletter
Newsletter archive
Surveys
Product Showcase
Research Library
CodeProject Stuff
community
The Insider News
The Lounge
The Weird & The Wonderful
The Soapbox
Press Releases
Who's Who
Most Valuable Professionals
Company Listings
Non-English Language
>
General Indian Topics
General Chinese Topics
help
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
Site Map
Advertise with us
Employment Opportunities
About Us
The default search term operator is
AND
.
You can use brackets,
AND
,
OR
, and
NOT
to improve your search. For example:
C# AND NOT(VB or SQL)
A query of a single
*
will return everything, filtered by any filters.
Filter examples:
Search by Author
author:"author name"
Filter by tag
tag:C#
or
tag:(C++ or Java)
Wildcard search
use "?" or "*" eg.
gr?d
or
gr*
40 Results
Search
Everything
Articles
Technical Blogs
Tips & Tricks
Questions
Answers
Forum Messages
News Items
Catalog Items
Videos
Training Courses
Just My Stuff
My Bookmarks
Sort by
Relevance
Rating Asc
Rating Desc
Title Asc
Title Desc
Author Asc
Author Desc
Date Created Asc
Date Created Desc
Date Modified Asc
Date Modified Desc
Price Asc
Price Desc
Duration Asc
Duration Desc
Match
All Fields
Title
Description
Author(s)
Tags
Any Date
Last 12 hours
Last 24 hours
Last week
Last 2 weeks
Last month
Last 3 months
Last 6 months
Last year
January
February
March
April
May
June
July
August
September
October
November
December
Rating Range
All - Including Unrated
1.0 - 5.0
2.0 - 5.0
3.0 - 5.0
4.0 - 5.0
4.5 - 5.0
4.8 - 5.0
5.0
Advanced Filters:
Article Topics
All Topics
Desktop Development
Web Development
Mobile Development
Cloud Computing
Enterprise Systems
Database
Multimedia
Languages
Platforms, Frameworks & Libraries
General Programming
Graphics / Design
Development Lifecycle
General Reading
Third Party Products
Mentor Resources
Article License
All Licenses
CPOL
CDDL
Ms-PL
MPL
CPL
Eclipse
MIT
BSD
Apache
CC (ASA 2.5)
Zlib
Public Domain
CC (Attr 3U)
CC (ASA 3U)
LGPL3
GPL3
Forums
All Forums
Feature Forums
General Programming
Web Development
Product Lifecycle
Database & SysAdmin
General Discussions
Non-English Language
Catalog Category
All Categories
Books & Training
Charting & Graphing
Components, Controls, Libraries
Data Manipulation & Mining
Database Tools
Debugging
Documentation & Help
Financial, Math & Scientific
Frameworks & APIs
General Development Tools
GIS & Maps
Graphics & 3D Modeling
Hardware and Robotics
Hosting
IDEs
Imaging
Mobility
Multimedia
Networking
Performance and Profiling
Programming Languages
Project Life-cycle Management (ALM)
Reporting
Search
Security
Setup & Deploy
System Adminstration
Utilities
Virtualization
Web Design/Development
Catalog License
All Licenses
Commercial
Fully Function Evaluation version
Limited Functionality Trial
Limited Time Trial
Shareware
Free For Personal Use
Freeware
Page 1 of 2
Page Size:
10
·
25
·
50
Author filtered by: Pawel idzikowski
[x]
Pragmatic Unit Tests using "yield return" for providing test cases
by
Pawel idzikowski
Article
5 Feb 2013
license:
CPOL
How to gain better control over the testing process reducing the amount of test methods in a unit test.
Development Lifecycle
»
Testing And Qa
»
General
WinXP
Win2003
Vista
VS.NET2003
VS2005
VS2008
C#
.NETCF
.NET
Dev
, +
Re: Against the methodology
by
Pawel idzikowski
Forum Message
8 Jan 2013
at first thanks for the comment. I don't try to convince anybody - this way is better. For me it's better to group all test cases in one place. Otherwise this is a good example for using "yield return
General Discussions
»
Article "Pragmatic Unit Tests Using "Yield Return" For Providing Test Cases"
Re: An alternative - NUnit
by
Pawel idzikowski
Forum Message
7 Jan 2013
AFAIK an Attribute accepts only constant values. Using the above way you can provide your test case with mocks and other runtime objects.
General Discussions
»
Article "Pragmatic Unit Tests Using "Yield Return" For Providing Test Cases"
Building professional .NET applications using asynchronous message communication based on MCM-Framework.Net
by
Pawel idzikowski
Article
4 Jan 2013
license:
CPOL
How to effectively build modular .NET applications of any size using messages, commands and components of MCM-Framework.Net?
Platforms, Frameworks & Libraries
»
Libraries
»
General
.NET1.0
.NET1.1
.NET2.0
WinXP
Win2003
Vista
VS.NET2003
VS2005
C#1.0
C#2.0
, +
Re: Not sure this approach increases manageability.
by
Pawel idzikowski
Forum Message
30 Dec 2012
yes, the TestCase.Description property should be a part of the Assert message. However I didn't want to complicate the code with additional statements. The most important thing is the yield return pat
General Discussions
»
Article "Pragmatic Unit Tests Using "Yield Return" For Providing Test Cases"
XML Serialization of Generic Dictionary, Multidimensional Array, and Inherited Type, with sharpSerializer .NET
by
Pawel idzikowski
Article
9 Nov 2011
license:
CPOL
How to serialize to XML, any generic, derived, or other complex type, which XMLSerializer cannot serialize
Languages
»
Xml
»
Serializing
.NET2.0
WinXP
Win2003
Vista
C#2.0
.NET3.0
C#3.0
WinMobile5
.NET3.5
XML
, +
Re: Fast Reflection?
by
Pawel idzikowski
Forum Message
19 Sep 2011
no, I have not tried it yet. SharpSerializer uses standard reflection with PropertyInfo. Quitting dynamic methods has one big advantage - there is no MissingMethodException ;-)
General Discussions
»
Article "How To Serialize Data Effectively? Custom Serialization Of Bitmap, Cursor, Icon, Font And Other Objects Without Default Constructor With Sharpserializer"
Re: Great work!!!
by
Pawel idzikowski
Forum Message
20 Aug 2011
thanks a lot! If you like, please rate it on [NuGet.org] or
General Discussions
»
Article "Xml Serialization Of Generic Dictionary, Multidimensional Array And Polymorphic Property With Sharpserializer .Net"
How to serialize data effectively? Custom serialization of Bitmap, Cursor, Icon, Font, and other objects without a default constructor with sharpSerializer
by
Pawel idzikowski
Article
14 Aug 2011
license:
CPOL
Is it better to serialize types without default constructor with Custom Serializer or a Substitute Pattern? Example of serialization of FontFamily into isolated storage in WP7.
Mobile Development
»
Windows Phone 7/8
»
General
.NET2.0
WinXP
Win2003
Vista
TabletPC
Embedded
C#2.0
.NET3.0
C#3.0
WinMobile5
, +
Re: What about WPF applications ?
by
Pawel idzikowski
Forum Message
6 Aug 2011
Maybe you can catch this exception by subscribing the event AppDomain.CurrentDomain.AssemblyResolve and there you load the missing assembly manually, i.e. Assembly.Load(...). If it does not work, ther
General Discussions
»
Article "Introduction"
Re: My vote of 5
by
Pawel idzikowski
Forum Message
9 May 2011
thanks! the performance depends on the environment and data being serialized. there is another article comparing SharpSerializer 2.6 with BinaryFormatter:
General Discussions
»
Article "Xml Serialization Of Generic Dictionary, Multidimensional Array And Polymorphic Property With Sharpserializer .Net"
Re: Guid does not serializes
by
Pawel idzikowski
Forum Message
8 May 2011
hi, SharpSerializer 2.8 and above can serialize Guid. the latest version and sources you find on sharpserializer.codeplex.com
General Discussions
»
Article "Xml Serialization Of Generic Dictionary, Multidimensional Array And Polymorphic Property With Sharpserializer .Net"
Re: One more question - some success
by
Pawel idzikowski
Forum Message
18 Nov 2010
You need to serialize your class including AssemblyVersion, Culture and PublicKeyToken. As Default they will not be included in the type name. (it looks clean in xml, but the drawback is as y
General Discussions
»
Article "Binary Serialization To Isolatedstorage In Silverlight - Binaryformatter Vs. Sharpserializer"
Re: Send binary to server
by
Pawel idzikowski
Forum Message
18 Nov 2010
Yes, it's possible ;-)
General Discussions
»
Article "Binary Serialization To Isolatedstorage In Silverlight - Binaryformatter Vs. Sharpserializer"
Reason for my vote of 1 under certain circumstances it produ...
by
Pawel idzikowski
Forum Message
13 Oct 2010
Reason for my vote of 1 under certain circumstances it produces wrong results (see my comment).
General Discussions
»
Alternative Tip "How To Get Fulltype From Assemblyqualifiedname (Remove Version, Culture And Publickeytoken)"
sorry, It's not the ultimate solution. Let's assume there is...
by
Pawel idzikowski
Forum Message
13 Oct 2010
sorry, It's not the ultimate solution. Let's assume there is an assembly Versioning...: "Versioning.MyVersionInfo, Versioning, Version=......, Culture=neutral, PublicKeyToken=......"
General Discussions
»
Alternative Tip "How To Get Fulltype From Assemblyqualifiedname (Remove Version, Culture And Publickeytoken)"
What about more generally? i.e. "typing dark letters on a li...
by
Pawel idzikowski
Forum Message
13 Oct 2010
What about more generally? i.e. "typing dark letters on a light background"? If I change the title then your alternate is off topic ;-)
General Discussions
»
Article "How To Get Fulltype From Assemblyqualifiedname (Remove Version, Culture And Publickeytoken)"
Re: Silverlight Serializer performance in your test harness
by
Pawel idzikowski
Forum Message
9 Oct 2010
I give up. there is type caching in my framework but further caching is not possible unless I refactor the whole system. In your Serializer there are only two layers - reading and object creating. in
General Discussions
»
Article "Binary Serialization To Isolatedstorage In Silverlight - Binaryformatter Vs. Sharpserializer"
Re: Silverlight Serializer performance in your test harness
by
Pawel idzikowski
Forum Message
9 Oct 2010
hi Mike, however sharpSerializer in my results is better than in yours, but your SilverlightSerializer kicks the ass! I have compared the outputs, because i thought, your class is a fake which makes
General Discussions
»
Article "Binary Serialization To Isolatedstorage In Silverlight - Binaryformatter Vs. Sharpserializer"
Reason for my vote of 1 it doesn't work for "System.Collecti...
by
Pawel idzikowski
Forum Message
7 Oct 2010
Reason for my vote of 1 it doesn't work for "System.Collections.Generic.Dictionary`2[[System.Int32, mscorlib],[System.String, mscorlib]], mscorlib"
General Discussions
»
Alternative Tip "How To Get Fulltype From Assemblyqualifiedname (Remove Version, Culture And Publickeytoken)"
Sorry, it's wrong. Let's assume, there is a type: type="Sys...
by
Pawel idzikowski
Forum Message
7 Oct 2010
Sorry, it's wrong. Let's assume, there is a type: type="System.Collections.Generic.Dictionary`2[[System.Int32, mscorlib],[System.String, mscorlib]], mscorlib" The algorithm with string.IndexOf(...)
General Discussions
»
Alternative Tip "How To Get Fulltype From Assemblyqualifiedname (Remove Version, Culture And Publickeytoken)"
Re: [Serializable] and [ExcludeFromSerialization]
by
Pawel idzikowski
Forum Message
7 Oct 2010
Paulo Zemek wrote:marking all your objects as [Serializable] (...) avoids users serializing objects like the ReaderWriterLockSlim it's lik
General Discussions
»
Article "Binary Serialization To Isolatedstorage In Silverlight - Binaryformatter Vs. Sharpserializer"
Re: [Serializable] and [ExcludeFromSerialization]
by
Pawel idzikowski
Forum Message
7 Oct 2010
hi Paulo, 1) I have never thought of serializing of ReaderWriterLock - it can't work anyway. Sometimes i get feedback, that sharpSerializer can't serialize whole Windows Forms or other Controls.
General Discussions
»
Article "Binary Serialization To Isolatedstorage In Silverlight - Binaryformatter Vs. Sharpserializer"
How to get FullType From AssemblyQualifiedName (remove Version, Culture and PublicKeyToken)
by
Pawel idzikowski
Tip/Trick
7 Oct 2010
license:
CPOL
General Programming
»
Programming Tips
»
General
C#
Re: Could you briefly detail how it works internally?
by
Pawel idzikowski
Forum Message
7 Oct 2010
hi Chris, only between us "lazy boys";-) - yes, it uses reflection and the types are cached during building of Property classes. Of course the framework could be faster if not the reflection. the p
General Discussions
»
Article "Binary Serialization To Isolatedstorage In Silverlight - Binaryformatter Vs. Sharpserializer"
Page 1 of 2
1
2
First
·
Prev
·
Next
·
Last
Advertise
|
Privacy
|
Mobile
Web04 | 2.6.130513.1 | Last Updated 14 May 2013
Copyright ©
CodeProject
, 1999-2013
All Rights Reserved.
Terms of Use
Layout:
fixed
|
fluid