├── README.md
├── WpfApplication1.sln
├── WpfApplication1.v11.suo
├── WpfApplication1
├── ApiController.cs
├── App.config
├── App.xaml
├── App.xaml.cs
├── ChatProxy.cs
├── MainWindow.xaml
├── MainWindow.xaml.cs
├── Message.cs
├── MessageReceiver.cs
├── Properties
│ ├── AssemblyInfo.cs
│ ├── Resources.Designer.cs
│ ├── Resources.resx
│ ├── Settings.Designer.cs
│ └── Settings.settings
├── WpfApplication1.csproj
├── bin
│ └── Debug
│ │ ├── System.Json.dll
│ │ ├── System.Json.xml
│ │ ├── System.Net.Http.Formatting.dll
│ │ ├── System.Net.Http.Formatting.xml
│ │ ├── System.Net.Http.WebRequest.dll
│ │ ├── System.Net.Http.WebRequest.xml
│ │ ├── System.Net.Http.dll
│ │ ├── System.Net.Http.xml
│ │ ├── System.Web.Http.Common.dll
│ │ ├── System.Web.Http.Common.xml
│ │ ├── System.Web.Http.SelfHost.dll
│ │ ├── System.Web.Http.SelfHost.xml
│ │ ├── System.Web.Http.dll
│ │ ├── System.Web.Http.xml
│ │ ├── WpfApplication1.exe
│ │ ├── WpfApplication1.exe.config
│ │ ├── WpfApplication1.pdb
│ │ ├── WpfApplication1.vshost.exe
│ │ └── WpfApplication1.vshost.exe.config
├── obj
│ └── Debug
│ │ ├── App.g.cs
│ │ ├── App.g.i.cs
│ │ ├── DesignTimeResolveAssemblyReferencesInput.cache
│ │ ├── Filip.ChatGUI.Properties.Resources.resources
│ │ ├── MainWindow.baml
│ │ ├── MainWindow.g.cs
│ │ ├── MainWindow.g.i.cs
│ │ ├── TempPE
│ │ └── Properties.Resources.Designer.cs.dll
│ │ ├── TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs
│ │ ├── TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs
│ │ ├── WpfApplication1.csproj.FileListAbsolute.txt
│ │ ├── WpfApplication1.csproj.GenerateResource.Cache
│ │ ├── WpfApplication1.csprojResolveAssemblyReference.cache
│ │ ├── WpfApplication1.exe
│ │ ├── WpfApplication1.g.resources
│ │ ├── WpfApplication1.pdb
│ │ ├── WpfApplication1_MarkupCompile.cache
│ │ └── WpfApplication1_MarkupCompile.i.cache
└── packages.config
└── packages
├── AspNetWebApi.Core.4.0.20126.16343
├── AspNetWebApi.Core.4.0.20126.16343.nupkg
└── lib
│ └── net40
│ ├── System.Web.Http.dll
│ └── System.Web.Http.xml
├── AspNetWebApi.SelfHost.4.0.20126.16343
├── AspNetWebApi.SelfHost.4.0.20126.16343.nupkg
└── lib
│ └── net40
│ ├── System.Web.Http.SelfHost.dll
│ └── System.Web.Http.SelfHost.xml
├── System.Json.4.0.20126.16343
├── System.Json.4.0.20126.16343.nupkg
└── lib
│ └── net40
│ ├── System.Json.dll
│ └── System.Json.xml
├── System.Net.Http.2.0.20126.16343
├── System.Net.Http.2.0.20126.16343.nupkg
└── lib
│ └── net40
│ ├── System.Net.Http.WebRequest.dll
│ ├── System.Net.Http.WebRequest.xml
│ ├── System.Net.Http.dll
│ └── System.Net.Http.xml
├── System.Net.Http.Formatting.4.0.20126.16343
├── System.Net.Http.Formatting.4.0.20126.16343.nupkg
└── lib
│ └── net40
│ ├── System.Net.Http.Formatting.dll
│ └── System.Net.Http.Formatting.xml
├── System.Web.Http.Common.4.0.20126.16343
├── System.Web.Http.Common.4.0.20126.16343.nupkg
└── lib
│ └── net40
│ ├── System.Web.Http.Common.dll
│ └── System.Web.Http.Common.xml
└── repositories.config
/README.md:
--------------------------------------------------------------------------------
1 | Build p2p chat application with WPF and ASP.NET Web API
2 | =========================
3 |
4 | This source code is accompanying the tutorial from here - http://www.strathweb.com/2012/03/build-p2p-chat-application-with-wpf-and-asp-net-web-api/
5 |
6 | Please note that the tutorial was written some time ago against ASP.NET Web API Beta, so it might not compile against the latest project DLLs (update coming soon).
7 |
8 | The solution file is Visual Studio 11.
9 |
10 | Enjoy.
--------------------------------------------------------------------------------
/WpfApplication1.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio 11
4 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WpfApplication1", "WpfApplication1\WpfApplication1.csproj", "{B24656A9-4F1A-4585-AB9D-3379FEA86134}"
5 | EndProject
6 | Global
7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
8 | Debug|Any CPU = Debug|Any CPU
9 | Release|Any CPU = Release|Any CPU
10 | EndGlobalSection
11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
12 | {B24656A9-4F1A-4585-AB9D-3379FEA86134}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
13 | {B24656A9-4F1A-4585-AB9D-3379FEA86134}.Debug|Any CPU.Build.0 = Debug|Any CPU
14 | {B24656A9-4F1A-4585-AB9D-3379FEA86134}.Release|Any CPU.ActiveCfg = Release|Any CPU
15 | {B24656A9-4F1A-4585-AB9D-3379FEA86134}.Release|Any CPU.Build.0 = Release|Any CPU
16 | EndGlobalSection
17 | GlobalSection(SolutionProperties) = preSolution
18 | HideSolutionNode = FALSE
19 | EndGlobalSection
20 | EndGlobal
21 |
--------------------------------------------------------------------------------
/WpfApplication1.v11.suo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/filipw/aspnetwebapi-wpf-p2p-chat/36409f0b94b213956dc63ba00c55d3c7684a0ae9/WpfApplication1.v11.suo
--------------------------------------------------------------------------------
/WpfApplication1/ApiController.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 | using System.Web.Http.SelfHost;
7 | using System.Net.Http;
8 | using System.Net.Http.Formatting;
9 | using System.Web.Http;
10 | using Filip.ChatModels;
11 |
12 | namespace Filip.ChatBusiness
13 | {
14 | public class ChatController : ApiController
15 | {
16 | public void Post(MessageReceiver simpleMessage)
17 | {
18 | MessageArrived(new Message(simpleMessage));
19 | }
20 |
21 | public delegate void EventHandler(object sender, MessageEventArgs args);
22 | public static event EventHandler ThrowMessageArrivedEvent = delegate { };
23 |
24 | public void MessageArrived(Message m)
25 | {
26 | ThrowMessageArrivedEvent(this, new MessageEventArgs(m));
27 | }
28 | }
29 |
30 | public class MessageEventArgs : EventArgs
31 | {
32 | public MessageEventArgs(Message m)
33 | {
34 | this.Message = m;
35 | }
36 | public Message Message;
37 | }
38 | }
39 |
--------------------------------------------------------------------------------
/WpfApplication1/App.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/WpfApplication1/App.xaml:
--------------------------------------------------------------------------------
1 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/WpfApplication1/App.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Configuration;
4 | using System.Data;
5 | using System.Linq;
6 | using System.Threading.Tasks;
7 | using System.Windows;
8 | using System.Web.Http.SelfHost;
9 | using System.Net.Http;
10 | using System.Net.Http.Formatting;
11 | using System.Web.Http;
12 | using System.Threading.Tasks;
13 |
14 | namespace Filip.ChatGUI
15 | {
16 | ///
17 | /// Interaction logic for App.xaml
18 | ///
19 | public partial class App : Application
20 | {
21 |
22 | }
23 | }
24 |
--------------------------------------------------------------------------------
/WpfApplication1/ChatProxy.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Net.Http;
5 | using System.Text;
6 | using System.Threading.Tasks;
7 | using System.Web.Http;
8 | using System.Web.Http.SelfHost;
9 | using System.Windows.Threading;
10 | using Filip.ChatModels;
11 |
12 | namespace Filip.ChatBusiness
13 | {
14 | public class ChatProxy
15 | {
16 | public bool Status { get; set; }
17 |
18 | public delegate void ShowReceivedMessage(Message m);
19 | public delegate void ShowStatus(string txt);
20 |
21 | private ShowReceivedMessage _srm;
22 | private ShowStatus _sst;
23 | private HttpClient _client;
24 | private HttpSelfHostServer _server;
25 |
26 | //constructor
27 | public ChatProxy(ShowReceivedMessage srm, ShowStatus sst, string myport, string partneraddress)
28 | {
29 | StartChatServer(myport);
30 | if (Status)
31 | {
32 | _srm = srm;
33 | _sst = sst;
34 | _client = new HttpClient() { BaseAddress = new Uri(partneraddress) };
35 |
36 | ChatController.ThrowMessageArrivedEvent += (sender, args) => { ShowMessage(args.Message); };
37 | }
38 | }
39 |
40 | //private methods
41 | private void StartChatServer(string myport)
42 | {
43 | try
44 | {
45 | string url = "http://localhost:" + myport + "/";
46 | HttpSelfHostConfiguration config = new HttpSelfHostConfiguration(url);
47 |
48 | config.Routes.MapHttpRoute(
49 | name: "DefaultApi",
50 | routeTemplate: "api/{controller}/{id}",
51 | defaults: new { id = RouteParameter.Optional }
52 | );
53 |
54 | _server = new HttpSelfHostServer(config);
55 | _server.OpenAsync().Wait();
56 |
57 | Status = true;
58 | }
59 | catch (Exception e)
60 | {
61 | Status = false;
62 | ShowError("Something happened!");
63 | }
64 | }
65 |
66 | private void stopChatServer()
67 | {
68 | _server.CloseAsync().Wait();
69 | }
70 |
71 | private void ShowMessage(Message m)
72 | {
73 | _srm(m);
74 | }
75 |
76 | private void ShowError(string txt)
77 | {
78 | _sst(txt);
79 | }
80 |
81 | //public methods
82 | public async void SendMessage(Message m)
83 | {
84 | try
85 | {
86 | HttpResponseMessage response = await _client.PostAsync("api/chat", m.serializedMessage);
87 | if (response.StatusCode != System.Net.HttpStatusCode.OK)
88 | ShowError("Partner responded, but awkwardly! Better hide!");
89 | ShowMessage(m);
90 | }
91 | catch (Exception e)
92 | {
93 | stopChatServer();
94 | ShowError("Partner unreachable. Closing your server!");
95 | }
96 | }
97 |
98 | }
99 | }
100 |
--------------------------------------------------------------------------------
/WpfApplication1/MainWindow.xaml:
--------------------------------------------------------------------------------
1 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
--------------------------------------------------------------------------------
/WpfApplication1/MainWindow.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 | using System.Windows;
7 | using System.Windows.Controls;
8 | using System.Windows.Data;
9 | using System.Windows.Documents;
10 | using System.Windows.Input;
11 | using System.Windows.Media;
12 | using System.Windows.Media.Imaging;
13 | using System.Windows.Navigation;
14 | using System.Windows.Shapes;
15 | using System.Web.Http.SelfHost;
16 | using System.Net.Http;
17 | using System.Net.Http.Formatting;
18 | using System.Web.Http;
19 | using System.Windows.Threading;
20 | using Filip.ChatModels;
21 |
22 | namespace Filip.ChatGUI
23 | {
24 | ///
25 | /// Interaction logic for MainWindow.xaml
26 | ///
27 | public partial class MainWindow : Window
28 | {
29 |
30 | private Filip.ChatBusiness.ChatProxy _cp { get; set; }
31 |
32 | public MainWindow()
33 | {
34 | InitializeComponent();
35 | }
36 |
37 | public void ShowMessage(Message m)
38 | {
39 | chatArea.Dispatcher.Invoke(
40 | DispatcherPriority.Normal,
41 | new Action(
42 | delegate()
43 | {
44 | chatArea.Text += ("[" + m.Sent + "] " + m.Username + ": " + m.Text);
45 | chatArea.Text += Environment.NewLine;
46 | chatArea.ScrollToEnd();
47 | }
48 | ));
49 | }
50 |
51 | public void ShowStatus(string txt)
52 | {
53 | chatArea.Dispatcher.Invoke(
54 | DispatcherPriority.Normal,
55 | new Action(
56 | delegate()
57 | {
58 | MessageBox.Show(txt);
59 | }
60 | ));
61 | }
62 |
63 | private void userInputText_KeyDown(object sender, KeyEventArgs e)
64 | {
65 | if (e.Key == Key.Enter) {
66 | if (_cp != null)
67 | {
68 | if (!string.IsNullOrEmpty(userName.Text) && !string.IsNullOrEmpty(inputText.Text))
69 | sendMessage(new Message(userName.Text, inputText.Text));
70 | else
71 | ShowStatus("Nothing to send!");
72 | } else {
73 | ShowStatus("Chat not started!");
74 | }
75 | }
76 | }
77 |
78 | private void click_sendMessage(object sender, RoutedEventArgs e)
79 | {
80 | if (_cp != null)
81 | {
82 | if (!string.IsNullOrEmpty(userName.Text) && !string.IsNullOrEmpty(inputText.Text))
83 | sendMessage(new Message(userName.Text, inputText.Text));
84 | else
85 | ShowStatus("Nothing to send!");
86 | }
87 | else
88 | {
89 | ShowStatus("Chat not started!");
90 | }
91 | }
92 |
93 | private void sendMessage(Message m)
94 | {
95 | _cp.SendMessage(m);
96 | inputText.Clear();
97 | }
98 |
99 | private void startChat(object sender, RoutedEventArgs e)
100 | {
101 | if (!string.IsNullOrWhiteSpace(textBoxMyPort.Text) && !string.IsNullOrWhiteSpace(textBoxPartnerAddress.Text))
102 | {
103 | _cp = new Filip.ChatBusiness.ChatProxy(this.ShowMessage, this.ShowStatus, textBoxMyPort.Text, textBoxPartnerAddress.Text);
104 | if (_cp.Status)
105 | {
106 | chatArea.Text += ("Ready to chat!");
107 | chatArea.Text += Environment.NewLine;
108 | }
109 | }
110 | else
111 | {
112 | ShowStatus("Please fill in all the fields!");
113 | }
114 | }
115 | }
116 | }
117 |
--------------------------------------------------------------------------------
/WpfApplication1/Message.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Net.Http;
5 | using System.Text;
6 | using System.Threading.Tasks;
7 |
8 | namespace Filip.ChatModels
9 | {
10 | public class Message
11 | {
12 | public string Username { get; set; }
13 | public string Text { get; set; }
14 | public DateTime Sent { get; set; }
15 | public FormUrlEncodedContent serializedMessage { get; set; }
16 |
17 | public Message(MessageReceiver m)
18 | {
19 | Username = m.Username;
20 | Text = m.Text;
21 | Sent = DateTime.Now;
22 | }
23 |
24 | public Message(string username, string text)
25 | {
26 | Username = username;
27 | Text = text;
28 | Sent = DateTime.Now;
29 |
30 | var dict = new Dictionary();
31 | dict.Add("Text", text);
32 | dict.Add("Username", username);
33 | dict.Add("Sent", DateTime.Now.ToString());
34 |
35 | serializedMessage = new FormUrlEncodedContent(dict);
36 | }
37 | }
38 | }
39 |
--------------------------------------------------------------------------------
/WpfApplication1/MessageReceiver.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 |
7 | namespace Filip.ChatModels
8 | {
9 | public class MessageReceiver
10 | {
11 | public string Text { get; set; }
12 | public string Username { get; set; }
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/WpfApplication1/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Resources;
3 | using System.Runtime.CompilerServices;
4 | using System.Runtime.InteropServices;
5 | using System.Windows;
6 |
7 | // General Information about an assembly is controlled through the following
8 | // set of attributes. Change these attribute values to modify the information
9 | // associated with an assembly.
10 | [assembly: AssemblyTitle("WpfApplication1")]
11 | [assembly: AssemblyDescription("")]
12 | [assembly: AssemblyConfiguration("")]
13 | [assembly: AssemblyCompany("Microsoft")]
14 | [assembly: AssemblyProduct("WpfApplication1")]
15 | [assembly: AssemblyCopyright("Copyright © Microsoft 2012")]
16 | [assembly: AssemblyTrademark("")]
17 | [assembly: AssemblyCulture("")]
18 |
19 | // Setting ComVisible to false makes the types in this assembly not visible
20 | // to COM components. If you need to access a type in this assembly from
21 | // COM, set the ComVisible attribute to true on that type.
22 | [assembly: ComVisible(false)]
23 |
24 | //In order to begin building localizable applications, set
25 | //CultureYouAreCodingWith in your .csproj file
26 | //inside a . For example, if you are using US english
27 | //in your source files, set the to en-US. Then uncomment
28 | //the NeutralResourceLanguage attribute below. Update the "en-US" in
29 | //the line below to match the UICulture setting in the project file.
30 |
31 | //[assembly: NeutralResourcesLanguage("en-US", UltimateResourceFallbackLocation.Satellite)]
32 |
33 |
34 | [assembly: ThemeInfo(
35 | ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located
36 | //(used if a resource is not found in the page,
37 | // or application resource dictionaries)
38 | ResourceDictionaryLocation.SourceAssembly //where the generic resource dictionary is located
39 | //(used if a resource is not found in the page,
40 | // app, or any theme specific resource dictionaries)
41 | )]
42 |
43 |
44 | // Version information for an assembly consists of the following four values:
45 | //
46 | // Major Version
47 | // Minor Version
48 | // Build Number
49 | // Revision
50 | //
51 | // You can specify all the values or you can default the Build and Revision Numbers
52 | // by using the '*' as shown below:
53 | // [assembly: AssemblyVersion("1.0.*")]
54 | [assembly: AssemblyVersion("1.0.0.0")]
55 | [assembly: AssemblyFileVersion("1.0.0.0")]
56 |
--------------------------------------------------------------------------------
/WpfApplication1/Properties/Resources.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated by a tool.
4 | // Runtime Version:4.0.30319.17379
5 | //
6 | // Changes to this file may cause incorrect behavior and will be lost if
7 | // the code is regenerated.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace Filip.ChatGUI.Properties {
12 | using System;
13 |
14 |
15 | ///
16 | /// A strongly-typed resource class, for looking up localized strings, etc.
17 | ///
18 | // This class was auto-generated by the StronglyTypedResourceBuilder
19 | // class via a tool like ResGen or Visual Studio.
20 | // To add or remove a member, edit your .ResX file then rerun ResGen
21 | // with the /str option, or rebuild your VS project.
22 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
23 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
24 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
25 | internal class Resources {
26 |
27 | private static global::System.Resources.ResourceManager resourceMan;
28 |
29 | private static global::System.Globalization.CultureInfo resourceCulture;
30 |
31 | [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
32 | internal Resources() {
33 | }
34 |
35 | ///
36 | /// Returns the cached ResourceManager instance used by this class.
37 | ///
38 | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
39 | internal static global::System.Resources.ResourceManager ResourceManager {
40 | get {
41 | if (object.ReferenceEquals(resourceMan, null)) {
42 | global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Filip.ChatGUI.Properties.Resources", typeof(Resources).Assembly);
43 | resourceMan = temp;
44 | }
45 | return resourceMan;
46 | }
47 | }
48 |
49 | ///
50 | /// Overrides the current thread's CurrentUICulture property for all
51 | /// resource lookups using this strongly typed resource class.
52 | ///
53 | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
54 | internal static global::System.Globalization.CultureInfo Culture {
55 | get {
56 | return resourceCulture;
57 | }
58 | set {
59 | resourceCulture = value;
60 | }
61 | }
62 | }
63 | }
64 |
--------------------------------------------------------------------------------
/WpfApplication1/Properties/Resources.resx:
--------------------------------------------------------------------------------
1 |
2 |
3 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 |
104 |
105 |
106 | text/microsoft-resx
107 |
108 |
109 | 2.0
110 |
111 |
112 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
113 |
114 |
115 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
116 |
117 |
--------------------------------------------------------------------------------
/WpfApplication1/Properties/Settings.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated by a tool.
4 | // Runtime Version:4.0.30319.17379
5 | //
6 | // Changes to this file may cause incorrect behavior and will be lost if
7 | // the code is regenerated.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace Filip.ChatGUI.Properties {
12 |
13 |
14 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
15 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")]
16 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
17 |
18 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
19 |
20 | public static Settings Default {
21 | get {
22 | return defaultInstance;
23 | }
24 | }
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/WpfApplication1/Properties/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/WpfApplication1/WpfApplication1.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Debug
6 | AnyCPU
7 | {B24656A9-4F1A-4585-AB9D-3379FEA86134}
8 | WinExe
9 | Properties
10 | Filip.ChatGUI
11 | WpfApplication1
12 | v4.5
13 | 512
14 | {60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
15 | 4
16 |
17 |
18 | AnyCPU
19 | true
20 | full
21 | false
22 | bin\Debug\
23 | DEBUG;TRACE
24 | prompt
25 | 4
26 |
27 |
28 | AnyCPU
29 | pdbonly
30 | true
31 | bin\Release\
32 | TRACE
33 | prompt
34 | 4
35 |
36 |
37 |
38 |
39 |
40 | True
41 | ..\packages\System.Json.4.0.20126.16343\lib\net40\System.Json.dll
42 |
43 |
44 | True
45 | ..\packages\System.Net.Http.2.0.20126.16343\lib\net40\System.Net.Http.dll
46 |
47 |
48 | True
49 | ..\packages\System.Net.Http.Formatting.4.0.20126.16343\lib\net40\System.Net.Http.Formatting.dll
50 |
51 |
52 | True
53 | ..\packages\System.Net.Http.2.0.20126.16343\lib\net40\System.Net.Http.WebRequest.dll
54 |
55 |
56 | True
57 | ..\packages\AspNetWebApi.Core.4.0.20126.16343\lib\net40\System.Web.Http.dll
58 |
59 |
60 | True
61 | ..\packages\System.Web.Http.Common.4.0.20126.16343\lib\net40\System.Web.Http.Common.dll
62 |
63 |
64 | True
65 | ..\packages\AspNetWebApi.SelfHost.4.0.20126.16343\lib\net40\System.Web.Http.SelfHost.dll
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 | 4.0
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 | MSBuild:Compile
82 | Designer
83 |
84 |
85 | MSBuild:Compile
86 | Designer
87 |
88 |
89 |
90 | App.xaml
91 | Code
92 |
93 |
94 |
95 | MainWindow.xaml
96 | Code
97 |
98 |
99 |
100 |
101 |
102 |
103 | Code
104 |
105 |
106 | True
107 | True
108 | Resources.resx
109 |
110 |
111 | True
112 | Settings.settings
113 | True
114 |
115 |
116 | ResXFileCodeGenerator
117 | Resources.Designer.cs
118 |
119 |
120 |
121 | SettingsSingleFileGenerator
122 | Settings.Designer.cs
123 |
124 |
125 |
126 |
127 |
128 |
129 |
130 |
137 |
--------------------------------------------------------------------------------
/WpfApplication1/bin/Debug/System.Json.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/filipw/aspnetwebapi-wpf-p2p-chat/36409f0b94b213956dc63ba00c55d3c7684a0ae9/WpfApplication1/bin/Debug/System.Json.dll
--------------------------------------------------------------------------------
/WpfApplication1/bin/Debug/System.Json.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | System.Json
5 |
6 |
7 |
8 | This class provides a low-level API for parsing HTML form URL-encoded data, also known as application/x-www-form-urlencoded data. The output of the parser is a instance. <remarks>This is a low-level API intended for use by other APIs. It has been optimized for performance and is not intended to be called directly from user code.</remarks>
9 |
10 |
11 | Parses a collection of query string values as a .
12 | The corresponding to the given query string values.
13 | The collection of query string name-value pairs parsed in lexical order. Both names and values must be un-escaped so that they don't contain any encoding.
14 |
15 |
16 | Parses a collection of query string values as a .
17 | The corresponding to the given query string values.
18 | The collection of query string name-value pairs parsed in lexical order. Both names and values must be un-escaped so that they don't contain any encoding.
19 | The maximum depth of object graph encoded as x-www-form-urlencoded.
20 |
21 |
22 | Parses a collection of query string values as a .
23 | true if nameValuePairs was parsed successfully; otherwise false.
24 | The collection of query string name-value pairs parsed in lexical order. Both names and values must be un-escaped so that they don't contain any encoding.
25 | The maximum depth of object graph encoded as x-www-form-urlencoded.
26 | The parsed result or null if parsing failed.
27 |
28 |
29 | Parses a collection of query string values as a .
30 | true if nameValuePairs was parsed successfully; otherwise false.
31 | The collection of query string name-value pairs parsed in lexical order. Both names and values must be un-escaped so that they don't contain any encoding.
32 | The parsed result or null if parsing failed.
33 |
34 |
35 | Represents a Json array.
36 |
37 |
38 | Initializes a new instance of the class with the specified items.
39 | The enumeration of objects of type used to initialize the JavaScript Object Notation (JSON) array.
40 |
41 |
42 | Initializes a new instance of the class with the specified items.
43 | The array of type used to initialize the JavaScript Object Notation (JSON) array.
44 |
45 |
46 | Adds a object to the end of the array.
47 | The object to add.
48 |
49 |
50 | Adds the elements from a collection of type to the array.
51 | The collection of types to add.
52 |
53 |
54 | Adds the elements from an array of type to the array.
55 | The array of type to be added to the array.
56 |
57 |
58 | Removes all JSON CLR types from the .
59 |
60 |
61 | Indicates whether a specified JSON CLR type is in the .
62 | true if the item is found in the ; otherwise, false.
63 | The to check for in the array.
64 |
65 |
66 | Copies the contents of the current JSON CLR array instance into a specified destination array beginning at the specified index.
67 | The destination array to which the elements of the current array are copied.
68 | The zero-based index in the destination array at which the copying of the elements of the JSON CLR array begins.
69 |
70 |
71 | Gets the number of elements in the array.
72 | The number of JSON value in the array.
73 |
74 |
75 | Returns an enumerator that iterates through the objects in the array.
76 | An enumerator that iterates through the elements in the array.
77 |
78 |
79 | Searches for a specified object and returns the zero-based index of its first occurrence within the array.
80 | The zero-based index of the first occurrence of item within the array, if found; otherwise, -1.
81 | The object to look up.
82 |
83 |
84 | Inserts a JSON CLR type into the array at a specified index.
85 | The zero-based index at which the item should be inserted.
86 | The object to insert.
87 |
88 |
89 | Gets a value that indicates whether the is read-only.
90 | true if the is read-only; otherwise, false.
91 |
92 |
93 | Gets or sets the JSON value at a specified index.
94 | The JSON value at the specified index.
95 | The zero-based index of the element to get or set.
96 |
97 |
98 | Gets the JSON type of the array.
99 | The JSON type of the array.
100 |
101 |
102 | Removes the first occurrence of the specified JSON value from the array.
103 | true if the item is successfully removed; otherwise, false. This method also returns false if the item was not found in the array.
104 | The JSON value to remove from the array.
105 |
106 |
107 | Removes the JSON value at a specified index of array.
108 | The zero-based index at which to remove the JSON value.
109 |
110 |
111 | Returns an enumerator that iterates through the objects in the array.
112 | An enumerator that iterates through the elements in the array.
113 |
114 |
115 | Specifies the value or the default value of the Json array with specified index.
116 | The value or the default value of the Json array.
117 | The index used.
118 |
119 |
120 | Represents a Json object.
121 |
122 |
123 | Initializes a new instance of the class using items.
124 | The collection of items.
125 |
126 |
127 | Initializes a new instance of the class using items.
128 | The collection of items.
129 |
130 |
131 | Adds a key/value pair to the JSON CLR object.
132 | The collections item to add.
133 |
134 |
135 | Adds a key/value pair to the JSON CLR object type.
136 | The key for the element added.
137 | The JsonValue for the element added.
138 |
139 |
140 | Adds a specified of key/value pairs to the current instance of the JsonObject.
141 | The collections of items to add.
142 |
143 |
144 | Adds a specified array of key/value pairs to the current instance of JsonObject.
145 | The collections of items to add.
146 |
147 |
148 | Removes all key/value pairs from the JSON CLR object.
149 |
150 |
151 | Checks whether a key/value pair with a specified key exists in the JSON CLR object type.
152 | True if the JSON CLR object contains the key; otherwise, false.
153 | The key to check for.
154 |
155 |
156 | Copies the contents of the JSON CLR object into a specified key/value destination array beginning at a specified index.
157 | The destination array type to which the elements of the JsonObject are copied.
158 | The zero based index at which to begin the insertion of the contents from the JSON CLR object type.
159 |
160 |
161 | Gets the number of key/value pairs in the JsonObject.
162 | The number of key/value pairs in the JsonObject.
163 |
164 |
165 | Gets or sets an indexer used to look up a key/value pair based on a specified key.
166 | The JsonValue that contains the key/value pair looked up.
167 | The key of the pair to look up.
168 |
169 |
170 | Gets the JSON type of the JsonObject.
171 | The JSON type of the JsonObject.
172 |
173 |
174 | Gets a collection that contains the keys in the JsonObject.
175 | The collection that contains the keys in the JsonObject.
176 |
177 |
178 | Removes the key/value pair with a specified from the JSON CLR object type.
179 | True if the element is successfully found and removed; otherwise, false.
180 | The key of the item to remove.
181 |
182 |
183 | Checks whether the JsonObject contains a specified key/value pair.
184 | True if the item is contained in the instance of the JsonObject; otherwise, false.
185 | The key/value pair to check for.
186 |
187 |
188 | Gets a value that indicates whether this JSON CLR object is read-only.
189 | True if it is read-only; otherwise, false.
190 |
191 |
192 | Removes the first occurrence of a specified key/value pair from the JsonObject.
193 | True if item was successfully removed from the JsonObject; otherwise, false.
194 | The key/value pair to remove.
195 |
196 |
197 | Returns an enumerator that iterates through the key/value pairs in the JsonObject.
198 | An enumerator that iterates through the key/value pairs in the JsonObject.
199 |
200 |
201 | Attempts to get the value that corresponds to the specified key.
202 | True if the instance of the JsonObject contains an element with the specified key; otherwise, false.
203 | The key of the value to retrieve.
204 | The primitive or structured JsonValue object that has the key specified.
205 |
206 |
207 | Specifies the value or the default value of the Json object with specified key.
208 | The value or the default value of the Json object.
209 | The key used
210 |
211 |
212 | Gets the collection that contains the values in the JsonObject.
213 | The collection that contains the values in the JsonObject.
214 |
215 |
216 | Represents a JavaScript Object Notation (JSON) primitive type in the common language runtime (CLR).
217 |
218 |
219 | Initializes a new instance of the class with a specified type.
220 | The object that initializes the new instance.
221 |
222 |
223 | Initializes a new instance of the class with the specified type.
224 | The object that initializes the new instance.
225 |
226 |
227 | Initializes a new instance of the class with the specified type.
228 | The object that initializes the new instance.
229 |
230 |
231 | Initializes a new instance of the class with a specified type.
232 | The object that initializes the new instance.
233 |
234 |
235 | Initializes a new instance of the class with a specified type.
236 | The object that initializes the new instance.
237 |
238 |
239 | Initializes a new instance of the class with a specified type.
240 | The object that initializes the new instance.
241 |
242 |
243 | Initializes a new instance of the class with a specified type.
244 | The object that initializes the new instance.
245 |
246 |
247 | Initializes a new instance of the class with a specified type.
248 | The object that initializes the new instance.
249 |
250 |
251 | Initializes a new instance of the class with a specified type.
252 | The object that initializes the new instance.
253 |
254 |
255 | Initializes a new instance of the class with a specified type.
256 | The object that initializes the new instance.
257 |
258 |
259 | Initializes a new instance of the class with a specified type.
260 | The object that initializes the new instance.
261 |
262 |
263 | Initializes a new instance of the class with a specified type.
264 | The object that initializes the new instance.
265 |
266 |
267 | Initializes a new instance of the class with a specified type.
268 | The object that initializes the new instance.
269 |
270 |
271 | Initializes a new instance of the class with a specified type.
272 | The object that initializes the new instance.
273 |
274 |
275 | Initializes a new instance of the class with a specified type.
276 | The object that initializes the new instance.
277 |
278 |
279 | Initializes a new instance of the class with a specified type.
280 | The object that initializes the new instance.
281 |
282 |
283 | Initializes a new instance of the class with a specified type.
284 | The object that initializes the new instance.
285 |
286 |
287 | Initializes a new instance of the class with a specified type.
288 | The object that initializes the new instance.
289 |
290 |
291 | Gets the JsonType that is associated with this object.
292 | The JsonType that is associated with this object.
293 |
294 |
295 | Reads the specified as type.
296 | The specified object as type.
297 | The object to read.
298 |
299 |
300 | Creates a new using the specified object instance.
301 | True if the was successfully created; otherwise, false.
302 | The object representing the .
303 | Contains the constructed .
304 |
305 |
306 | Indicates whether the specified object reads as type.
307 | True if the specified object reads as type; otherwise, false.
308 | The specified type.
309 | The object to read.
310 |
311 |
312 | Gets the value of the specified object.
313 | The value of the specified object.
314 |
315 |
316 | Specifies primitive and structured JavaScript Object Notation (JSON) common language runtime (CLR) types.
317 |
318 |
319 | The JSON String CLR type.
320 |
321 |
322 | The JSON Number CLR type.
323 |
324 |
325 | The JSON Object CLR type.
326 |
327 |
328 | The JSON Array CLR type.
329 |
330 |
331 | The JSON Boolean CLR type.
332 |
333 |
334 | The default type.
335 |
336 |
337 | Represents a Json value.
338 |
339 |
340 | Returns the Json value as a dynamic object.
341 | The Json value as a dynamic object.
342 |
343 |
344 | Specifies the cast value of the .
345 | The cast value of the .
346 | The value.
347 | The type.
348 |
349 |
350 | Occurs when the Json Value is changed.
351 |
352 |
353 | Gets the number of the changed listeners.
354 | The number of the changed listeners.
355 |
356 |
357 | Occurs when the Json Value is changing.
358 |
359 |
360 | Gets the number of the changing listeners.
361 | The number of the changing listeners.
362 |
363 |
364 | Throws an InvalidOperationException.
365 | True if the operation exception is invalid; otherwise, false.
366 | The key to check.
367 |
368 |
369 | Gets the number of Json values.
370 | The number of Json values.
371 |
372 |
373 | Returns an enumerator that can iterate through the .
374 | The enumerator for the .
375 |
376 |
377 | Gets the key value pair enumerator for the .
378 | The key value pair enumerator for the .
379 |
380 |
381 | Gets the Json value with specified index.
382 | The Json value.
383 | The index of the Json value.
384 |
385 |
386 | Gets the Json value with specified key.
387 | The Json value.
388 | The key.
389 |
390 |
391 | Gets or sets the object with specified index.
392 | The object.
393 | The index of the object.
394 |
395 |
396 | Gets or sets the object with specified key.
397 | The object with specified key.
398 | The key for the object.
399 |
400 |
401 | Gets a value that indicates whether the JSON CLR type represented by the derived type.
402 | The JSON CLR type.
403 |
404 |
405 | Deserializes the text-based JSON from a stream into JSON CLR type.
406 | The text-based JSON from a stream.
407 | A stream that contains text-based JSON content.
408 |
409 |
410 | Deserializes the text-based JSON from a text reader into a JSON CLR type.
411 | The text-based JSON from a text reader.
412 | A TextReader over text-based JSON content.
413 |
414 |
415 | Occurs when the save is ended.
416 |
417 |
418 | Occurs when the save is started.
419 |
420 |
421 | Enables explicit casts from an instance of type JsonValue to a object.
422 | The initialized with the JsonValue specified.
423 | The instance of JsonValue used to initialize the object.
424 |
425 |
426 | Enables explicit casts from an instance of type JsonValue to a object.
427 | The initialized with the JsonValue specified.
428 | The instance of JsonValue used to initialize the object.
429 |
430 |
431 | Enables explicit casts from an instance of type JsonValue to a object.
432 | The initialized with the JsonValue specified.
433 | The instance of JsonValue used to initialize the object.
434 |
435 |
436 | Enables explicit casts from an instance of type JsonValue to a object.
437 | The initialized with the JsonValue specified.
438 | The instance of JsonValue used to initialize the object.
439 |
440 |
441 | Enables explicit casts from an instance of type JsonValue to a object.
442 | The initialized with the JsonValue specified.
443 | The instance of JsonValue used to initialize the object.
444 |
445 |
446 | Enables explicit casts from an instance of type JsonValue to a object.
447 | The initialized with the JsonValue specified.
448 | The instance of JsonValue used to initialize the object.
449 |
450 |
451 | Enables explicit casts from an instance of type JsonValue to a object.
452 | The initialized with the JsonValue specified.
453 | The instance of JsonValue used to initialize the object.
454 |
455 |
456 | Enables explicit casts from an instance of type JsonValue to a object.
457 | The initialized with the JsonValue specified.
458 | The instance of JsonValue used to initialize the object.
459 |
460 |
461 | Enables explicit casts from an instance of type JsonValue to a object.
462 | The initialized with the JsonValue specified.
463 | The instance of JsonValue used to initialize the object.
464 |
465 |
466 | Enables explicit casts from an instance of type JsonValue to a object.
467 | The initialized with the JsonValue specified.
468 | The instance of JsonValue used to initialize the object.
469 |
470 |
471 | Enables explicit casts from an instance of type JsonValue to a object.
472 | The initialized with the JsonValue specified.
473 | The instance of JsonValue used to initialize the object.
474 |
475 |
476 | Enables explicit casts from an instance of type JsonValue to a object.
477 | The initialized with the JsonValue specified.
478 | The instance of JsonValue used to initialize the object.
479 |
480 |
481 | Enables explicit casts from an instance of type JsonValue to a object.
482 | The initialized with the JsonValue specified.
483 | The instance of JsonValue used to initialize the object.
484 |
485 |
486 | Enables explicit casts from an instance of type JsonValue to a object.
487 | The initialized with the JsonValue specified.
488 | The instance of JsonValue used to initialize the object.
489 |
490 |
491 | Enables explicit casts from an instance of type JsonValue to a object.
492 | The initialized with the JsonValue specified.
493 | The instance of JsonValue used to initialize the object.
494 |
495 |
496 | Enables explicit casts from an instance of type JsonValue to a object.
497 | The initialized with the JsonValue specified.
498 | The instance of JsonValue used to initialize the object.
499 |
500 |
501 | Enables explicit casts from an instance of type JsonValue to a object.
502 | The initialized with the JsonValue specified.
503 | The instance of JsonValue used to initialize the object.
504 |
505 |
506 | Enables explicit casts from an instance of type JsonValue to a object.
507 | The initialized with the JsonValue specified.
508 | The instance of JsonValue used to initialize the object.
509 |
510 |
511 | Enables implicit casts from type to a JsonPrimitive.
512 | The JsonValue initialized with the specified.
513 | The instance used to initialize the JsonPrimitive.
514 |
515 |
516 | Enables implicit casts from type to a JsonPrimitive.
517 | The JsonValue initialized with the specified.
518 | The instance used to initialize the JsonPrimitive.
519 |
520 |
521 | Enables implicit casts from type to a JsonPrimitive.
522 | The JsonValue initialized with the specified.
523 | The instance used to initialize the JsonPrimitive.
524 |
525 |
526 | Enables implicit casts from type to a JsonPrimitive.
527 | The JsonValue initialized with the specified.
528 | The instance used to initialize the JsonPrimitive.
529 |
530 |
531 | Enables implicit casts from type to a JsonObject.
532 | The JsonObject initialized with the specified.
533 | The instance used to initialize the JsonObject.
534 |
535 |
536 | Enables implicit casts from type to a JsonPrimitive.
537 | The JsonValue initialized with the specified.
538 | The instance used to initialize the JsonPrimitive.
539 |
540 |
541 | Enables implicit casts from type to a JsonPrimitive.
542 | The JsonValue initialized with the specified.
543 | The instance used to initialize the JsonPrimitive.
544 |
545 |
546 | Enables implicit casts from type to a JsonPrimitive.
547 | The JsonValue initialized with the specified.
548 | The instance used to initialize the JsonPrimitive.
549 |
550 |
551 | Enables implicit casts from type to a JsonPrimitive.
552 | The JsonValue initialized with the specified.
553 | The instance used to initialize the JsonPrimitive.
554 |
555 |
556 | Enables implicit casts from type to a JsonPrimitive.
557 | The JsonValue initialized with the specified.
558 | The instance used to initialize the JsonPrimitive.
559 |
560 |
561 | Enables implicit casts from type to a JsonPrimitive.
562 | The JsonValue initialized with the specified.
563 | The instance used to initialize the JsonPrimitive.
564 |
565 |
566 | Enables implicit casts from type to a JsonPrimitive.
567 | The JsonValue initialized with the specified.
568 | The instance used to initialize the JsonPrimitive.
569 |
570 |
571 | Enables implicit casts from type to a JsonPrimitive.
572 | The JsonValue initialized with the specified.
573 | The instance used to initialize the JsonPrimitive.
574 |
575 |
576 | Enables implicit casts from type to a JsonPrimitive.
577 | The JsonValue initialized with the specified.
578 | The instance used to initialize the JsonPrimitive.
579 |
580 |
581 | Enables implicit casts from type to a JsonPrimitive.
582 | The JsonValue initialized with the specified.
583 | The instance used to initialize the JsonPrimitive.
584 |
585 |
586 | Enables implicit casts from type to a JsonPrimitive.
587 | The JsonValue initialized with the specified.
588 | The instance used to initialize the JsonPrimitive.
589 |
590 |
591 | Enables implicit casts from type to a JsonPrimitive.
592 | The JsonValue initialized with the specified.
593 | The instance used to initialize the JsonPrimitive.
594 |
595 |
596 | Enables implicit casts from type to a JsonPrimitive.
597 | The JsonValue initialized with the specified.
598 | The instance used to initialize the JsonPrimitive.
599 |
600 |
601 | Deserializes the text-based JSON into a JSON CLR type.
602 | The text-based JSON into a JSON CLR type.
603 | The text-based JSON.
604 |
605 |
606 | Raises the event.
607 | The sender of the event.
608 | The event arguments.
609 |
610 |
611 | Raises the event.
612 | The sender of the event.
613 | The event arguments.
614 |
615 |
616 | Reads the as an object.
617 | The read value as an object.
618 | The generic type.
619 |
620 |
621 | Reads the Jsonvalue with specified type.
622 | The read value.
623 | The type of the value.
624 |
625 |
626 | Reads the Jsonvalue with specified type.
627 | The read value.
628 | The type of the value.
629 | The fallback.
630 |
631 |
632 | Reads the as an object with specified fallback.
633 | The read value as an object.
634 | The fallback.
635 | The generic type.
636 |
637 |
638 | Serializes the JsonValue CLR type into text-based JSON using a stream.
639 | Stream to which to write text-based JSON.
640 |
641 |
642 | Serializes the JsonValue CLR type into text-based JSON using a text writer.
643 | The TextWriter used to write text-based JSON.
644 |
645 |
646 | Sets the Json value with specified index and value.
647 | The Json value.
648 | The index.
649 | The set value.
650 |
651 |
652 | Sets the Json value with specified key and value.
653 | The Json value.
654 | the key.
655 | The set value.
656 |
657 |
658 | Gets the enumerator.
659 | The enumerator.
660 |
661 |
662 | Gets the meta object.
663 | The meta abject.
664 | The parameter.
665 |
666 |
667 | Saves (serializes) this JSON CLR type into text-based JSON.
668 | Returns string, which contains text-based JSON.
669 |
670 |
671 | Indicates whether the tries to read as type.
672 | True if the tries to read as type; otherwise, false.
673 | the type.
674 | the Json value.
675 |
676 |
677 | Indicates whether the tries to read as a generic type.
678 | True if the tries to read as a generic type; otherwise, false.
679 | The value of the generic type.
680 | The generic type.
681 |
682 |
683 | Specifies the value or the default value of the Json object with specified index.
684 | The value or the default value of the Json object.
685 | The index.
686 |
687 |
688 | Specifies the value or the default value of the Json object with specified indexes.
689 | The value or the default value of the Json object.
690 | The collection of index used.
691 |
692 |
693 | Specifies the value or the default value of the Json object with specified key.
694 | The value or the default value of the Json object.
695 | the key used.
696 |
697 |
698 | Specifies the Json value change.
699 |
700 |
701 | Add a Json value.
702 |
703 |
704 | Remove a Json value.
705 |
706 |
707 | Replace a Json value.
708 |
709 |
710 | Clear a Json value.
711 |
712 |
713 | Represents Json value change event arguments.
714 |
715 |
716 | Initializes a new instance of the class with a specified child, change and index object.
717 | The child object that initializes the new instance.
718 | The change object that initializes the new instance.
719 | The index object that initializes the new instance.
720 |
721 |
722 | Initializes a new instance of the class with a specified child, change and key object.
723 | The child object that initializes the new instance.
724 | The change object that initializes the new instance.
725 | The key object that initializes the new instance.
726 |
727 |
728 | Gets the Json value change.
729 | The Json value change.
730 |
731 |
732 | Gets the child of the .
733 | The child of the .
734 |
735 |
736 | Gets the index of the .
737 | The index value of the .
738 |
739 |
740 | Gets the key value of the .
741 | The key value of the .
742 |
743 |
744 | Represents Json value Linq expressions.
745 |
746 |
747 | Converts the specified items to Json array.
748 | The Json array items.
749 | The items to convert.
750 |
751 |
752 | Converts the specified items to Json object.
753 | The Json object items.
754 | The items to convert.
755 |
756 |
757 | Represents Json value extensions.
758 |
759 |
760 | Creates a form for the object.
761 | The created form.
762 | The value of the object.
763 |
764 |
765 | Reads the as an object.
766 | The read object.
767 | the Json value.
768 | The generic type.
769 |
770 |
771 | Reads the as a type with specified value.
772 | The read object.
773 | The Json value.
774 | The type.
775 |
776 |
777 | Reads the as an object with specified fallback.
778 | The read .
779 | The Json value.
780 | The fallback.
781 | The generic type.
782 |
783 |
784 | Tries to read the as a type.
785 | The read as a type.
786 | The Json value.
787 | The type.
788 | The value.
789 |
790 |
791 | Tries to read the as a generic type.
792 | The read as a generic type.
793 | The Json value.
794 | The value of the generic type.
795 | The generic type.
796 |
797 |
798 |
--------------------------------------------------------------------------------
/WpfApplication1/bin/Debug/System.Net.Http.Formatting.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/filipw/aspnetwebapi-wpf-p2p-chat/36409f0b94b213956dc63ba00c55d3c7684a0ae9/WpfApplication1/bin/Debug/System.Net.Http.Formatting.dll
--------------------------------------------------------------------------------
/WpfApplication1/bin/Debug/System.Net.Http.WebRequest.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/filipw/aspnetwebapi-wpf-p2p-chat/36409f0b94b213956dc63ba00c55d3c7684a0ae9/WpfApplication1/bin/Debug/System.Net.Http.WebRequest.dll
--------------------------------------------------------------------------------
/WpfApplication1/bin/Debug/System.Net.Http.WebRequest.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | System.Net.Http.WebRequest
5 |
6 |
7 |
8 | Represents the class that is used to create special for use with the Real-Time-Communications (RTC) background notification infrastructure.
9 |
10 |
11 | Creates a special for use with the Real-Time-Communications (RTC) background notification infrastructure.
12 | Returns .An HTTP request message for use with the RTC background notification infrastructure.
13 | The HTTP method.
14 | The Uri the request is sent to.
15 |
16 |
17 | Provides desktop-specific features not available to Metro apps or other environments.
18 |
19 |
20 | Initializes a new instance of the class.
21 |
22 |
23 | Gets or sets a value that indicates whether to pipeline the request to the Internet resource.
24 | Returns .true if the request should be pipelined; otherwise, false. The default is true.
25 |
26 |
27 | Gets or sets a value indicating the level of authentication and impersonation used for this request.
28 | Returns .A bitwise combination of the values. The default value is .
29 |
30 |
31 | Gets or sets the cache policy for this request.
32 | Returns .A object that defines a cache policy. The default is .
33 |
34 |
35 | Gets or sets the collection of security certificates that are associated with this request.
36 | Returns .The collection of security certificates associated with this request.
37 |
38 |
39 | Gets or sets the amount of time, in milliseconds, the application will wait for 100-continue from the server before uploading data.
40 | Returns .The amount of time, in milliseconds, the application will wait for 100-continue from the server before uploading data. The default value is 350 milliseconds.
41 |
42 |
43 | Gets or sets the impersonation level for the current request.
44 | Returns .The impersonation level for the request. The default is .
45 |
46 |
47 | Gets or sets the maximum allowed length of the response headers.
48 | Returns .The length, in kilobytes (1024 bytes), of the response headers.
49 |
50 |
51 | Gets or sets a time-out in milliseconds when writing a request to or reading a response from a server.
52 | Returns .The number of milliseconds before the writing or reading times out. The default value is 300,000 milliseconds (5 minutes).
53 |
54 |
55 | Gets or sets a value that indicates whether to allow high-speed NTLM-authenticated connection sharing.
56 | Returns .true to keep the authenticated connection open; otherwise, false.
57 |
58 |
59 |
--------------------------------------------------------------------------------
/WpfApplication1/bin/Debug/System.Net.Http.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/filipw/aspnetwebapi-wpf-p2p-chat/36409f0b94b213956dc63ba00c55d3c7684a0ae9/WpfApplication1/bin/Debug/System.Net.Http.dll
--------------------------------------------------------------------------------
/WpfApplication1/bin/Debug/System.Web.Http.Common.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/filipw/aspnetwebapi-wpf-p2p-chat/36409f0b94b213956dc63ba00c55d3c7684a0ae9/WpfApplication1/bin/Debug/System.Web.Http.Common.dll
--------------------------------------------------------------------------------
/WpfApplication1/bin/Debug/System.Web.Http.Common.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | System.Web.Http.Common
5 |
6 |
7 |
8 | Provides extension methods for the class.
9 |
10 |
11 | Creates an wired up to the associated .
12 | An initialized .
13 | The HTTP request.
14 |
15 |
16 | Creates an wired up to the associated .
17 | An initialized .
18 | The HTTP request.
19 | The HTTP status code.
20 |
21 |
22 | The class can be used to indicate properties about a route parameter (the literals and placeholders located within segments of a ). It can for example be used to indicate that a route parameter is optional.
23 |
24 |
25 | Optional Parameter
26 |
27 |
28 | Returns a that represents this instance.
29 | A that represents this instance.
30 |
31 |
32 | Utility class for creating, logging and unwrapping instances.
33 |
34 |
35 | Creates an with the provided properties and logs it with .
36 | The logged .
37 | A composite format string explaining the reason for the exception.
38 | An object array that contains zero or more objects to format.
39 |
40 |
41 | Creates an with the provided properties and logs it with .
42 | The logged .
43 | The name of the parameter that caused the current exception.
44 | A composite format string explaining the reason for the exception.
45 | An object array that contains zero or more objects to format.
46 |
47 |
48 | Creates an with the provided properties and logs it with .
49 | The logged .
50 | The name of the parameter that caused the current exception.
51 |
52 |
53 | Creates an with the provided properties and logs it with .
54 | The logged .
55 | The name of the parameter that caused the current exception.
56 | A composite format string explaining the reason for the exception.
57 | An object array that contains zero or more objects to format.
58 |
59 |
60 | Creates an with a default message and logs it with .
61 | The logged .
62 | The name of the parameter that caused the current exception.
63 |
64 |
65 | Creates an with the provided properties and logs it with .
66 | The logged .
67 | The name of the parameter that caused the current exception.
68 | The value of the argument that causes this exception.
69 | A composite format string explaining the reason for the exception.
70 | An object array that contains zero or more objects to format.
71 |
72 |
73 | Creates an with a message saying that the argument must be less than or equal to maxValue and logs it with .
74 | The logged .
75 | The name of the parameter that caused the current exception.
76 | The value of the argument that causes this exception.
77 | The maximum size of the argument.
78 |
79 |
80 | Creates an with a message saying that the argument must be greater than or equal to minValue and logs it with .
81 | The logged .
82 | The name of the parameter that caused the current exception.
83 | The value of the argument that causes this exception.
84 | The minimum size of the argument.
85 |
86 |
87 | Creates an with a message saying that the argument must be an absolute URI without a query or fragment identifier and then logs it with .
88 | The logged .
89 | The name of the parameter that caused the current exception.
90 | The value of the argument that causes this exception.
91 |
92 |
93 | Creates an with a message saying that the argument must be an absolute URI and logs it with .
94 | The logged .
95 | The name of the parameter that caused the current exception.
96 | The value of the argument that causes this exception.
97 |
98 |
99 | Creates an with a message saying that the argument must be an "http" or "https" URI and logs it with .
100 | The logged .
101 | The name of the parameter that caused the current exception.
102 | The value of the argument that causes this exception.
103 |
104 |
105 | Unwraps and logs an as using <typeparamref name="TPreferredException" /> as the preferred unwrapped to return.
106 | The unwrapped and logged exception.
107 | The to unwrap and log
108 | The preferred to unwrap. If not present then the first is returned instead.
109 |
110 |
111 | Unwraps and logs an as .
112 | The unwrapped and logged exception.
113 | The exception to unwrap and log
114 |
115 |
116 | Unwraps and logs an as using <typeparamref name="TPreferredException" /> as the preferred unwrapped to return.
117 | The unwrapped and logged exception.
118 | The to unwrap and log
119 | The preferred to unwrap. If not present then the first is returned instead.
120 |
121 |
122 | Unwraps and logs an as .
123 | The unwrapped and logged exception.
124 | The exception to unwrap and log
125 |
126 |
127 | Unwraps and logs an as using <typeparamref name="TPreferredException" /> as the preferred unwrapped to return.
128 | The unwrapped and logged exception.
129 | The to unwrap and log
130 | The preferred to unwrap. If not present then the first is returned instead.
131 |
132 |
133 | Unwraps and logs an as .
134 | The unwrapped and logged exception.
135 | The exception to unwrap and log
136 |
137 |
138 | Unwraps and logs an as using <typeparamref name="TPreferredException" /> as the preferred unwrapped to return.
139 | The unwrapped and logged exception.
140 | The to unwrap and log
141 | The preferred to unwrap. If not present then the first is returned instead.
142 |
143 |
144 | Unwraps and logs an as .
145 | The unwrapped and logged exception.
146 | The exception to unwrap and log
147 |
148 |
149 | Formats the specified resource string using .
150 | The formatted string.
151 | A composite format string.
152 | An object array that contains zero or more objects to format.
153 |
154 |
155 | Creates an and logs it with .
156 | The logged .
157 | The name of the parameter that caused the current exception.
158 | The value of the argument that failed.
159 | A that represents the enumeration class with the valid values.
160 |
161 |
162 | Creates an and logs it with .
163 | The logged .
164 | Inner exception
165 | A composite format string explaining the reason for the exception.
166 | An object array that contains zero or more objects to format.
167 |
168 |
169 | Creates an and logs it with .
170 | The logged .
171 | A composite format string explaining the reason for the exception.
172 | An object array that contains zero or more objects to format.
173 |
174 |
175 | Creates an with a message saying that the key was not found and logs it with .
176 | The logged .
177 |
178 |
179 | Creates an with a message saying that the key was not found and logs it with .
180 | The logged .
181 | A composite format string explaining the reason for the exception.
182 | An object array that contains zero or more objects to format.
183 |
184 |
185 | Creates an and logs it with .
186 | The logged .
187 | A composite format string explaining the reason for the exception.
188 | An object array that contains zero or more objects to format.
189 |
190 |
191 | Creates an initialized according to guidelines and logs it with .
192 | The logged .
193 | A composite format string explaining the reason for the exception.
194 | An object array that contains zero or more objects to format.
195 |
196 |
197 | Creates an initialized with the provided parameters and logs it with .
198 | The logged .
199 |
200 |
201 | Creates an initialized with the provided parameters and logs it with .
202 | The logged .
203 | A composite format string explaining the reason for the exception.
204 | An object array that contains zero or more objects to format.
205 |
206 |
207 | Creates an with the provided properties and logs it with .
208 | The logged .
209 |
210 |
211 | Various helper methods for the static members of .
212 |
213 |
214 | Gets the static instance for any given HTTP method name.
215 | An existing static or a new instance if the method was not found.
216 | The HTTP request method.
217 |
218 |
219 | General purpose logging interface.
220 |
221 |
222 |
223 | Logs the given exception at the given level under the given category.
224 | The category under which to log the message. It can be empty but it cannot be null.
225 | The at which to log the exception.
226 | The to log. It cannot be null.
227 |
228 |
229 |
--------------------------------------------------------------------------------
/WpfApplication1/bin/Debug/System.Web.Http.SelfHost.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/filipw/aspnetwebapi-wpf-p2p-chat/36409f0b94b213956dc63ba00c55d3c7684a0ae9/WpfApplication1/bin/Debug/System.Web.Http.SelfHost.dll
--------------------------------------------------------------------------------
/WpfApplication1/bin/Debug/System.Web.Http.SelfHost.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | System.Web.Http.SelfHost
5 |
6 |
7 |
8 | The configuration class for Http Services
9 |
10 |
11 | Initializes a new instance of the class.
12 | The base address.
13 |
14 |
15 | Initializes a new instance of the class.
16 | The base address.
17 |
18 |
19 | Gets the base address.
20 | The base address.
21 |
22 |
23 | Gets or sets the size of the max buffer.
24 | The size of the max buffer.
25 |
26 |
27 | Gets or sets the upper limit of how many concurrent instances can be processed at any given time. The default is 100 times the number of CPU cores.
28 |
29 |
30 |
31 |
32 |
33 | Gets or sets the size of the max received message.
34 | The size of the max received message.
35 |
36 |
37 | Called to apply the configuration on the endpoint level.
38 | The to use when building the or null if no binding parameters are present.
39 | Http endpoint.
40 |
41 |
42 | Configure server's certificate
43 |
44 |
45 | Gets or sets the transfer mode.
46 | The transfer mode.
47 |
48 |
49 | Gets or sets UserNamePasswordValidator so that it can be used to validate the username and password sent over HTTP or HTTPS
50 | The server certificate.
51 |
52 |
53 | Use this flag to indicate that you want to use windows authentication. This flag can not be used together with UserNamePasswordValidator property since you can either use Windows or Username Password as client credential.
54 | set it true if you want to use windows authentication
55 |
56 |
57 | Implementation of an which listens directly to HTTP.
58 |
59 |
60 | Initializes a new instance of the class.
61 | The configuration.
62 |
63 |
64 | Initializes a new instance of the class.
65 | The configuration.
66 | The dispatcher.
67 |
68 |
69 | Closes the current instance.
70 | A representing the asynchronous close operation.
71 |
72 |
73 | Opens the current instance.
74 | A representing the asynchronous open operation. Once this task completes successfully the server is running.
75 |
76 |
77 | Provides a key for the current stored in . Do not change this key as this is being used by WCF.
78 |
79 |
80 | A binding used with endpoints for web services that use strongly-type HTTP request and response messages.
81 |
82 |
83 | Initializes a new instance of the class.
84 |
85 |
86 | Initializes a new instance of the class with the type of security used by the binding explicitly specified.
87 | The value of that specifies the type of security that is used to configure a service endpoint using the binding.
88 |
89 |
90 | Returns an ordered collection of binding elements contained in the current binding. (Overrides <see cref="M:System.ServiceModel.Channels.Binding.CreateBindingElements"> Binding.CreateBindingElements</see>.)
91 | An ordered collection of binding elements contained in the current binding.
92 |
93 |
94 | Gets the envelope version that is used by endpoints that are configured to use an binding. Always returns .
95 |
96 |
97 | Gets or sets a value that indicates whether the hostname is used to reach the service when matching the URI.
98 |
99 |
100 | Gets or sets the maximum amount of memory allocated for the buffer manager that manages the buffers required by endpoints that use this binding.
101 |
102 |
103 | Gets or sets the maximum amount of memory that is allocated for use by the manager of the message buffers that receive messages from the channel.
104 |
105 |
106 | Gets or sets the maximum size for a message that can be processed by the binding.
107 |
108 |
109 | Gets the URI transport scheme for the channels and listeners that are configured with this binding. (Overrides <see cref="P:System.ServiceModel.Channels.Binding.Scheme"> Binding.Scheme</see>.)
110 |
111 |
112 | Gets or sets the security settings used with this binding.
113 |
114 |
115 | Gets a value indicating whether incoming requests can be handled more efficiently synchronously or asynchronously.
116 |
117 |
118 | Gets or sets a value that indicates whether the service configured with the binding uses streamed or buffered (or both) modes of message transfer.
119 |
120 |
121 | Specifies the types of security available to a service endpoint configured to use an binding.
122 |
123 |
124 | Creates a new instance of the class.
125 |
126 |
127 | Gets or sets the mode of security that is used by an endpoint configured to use an binding.
128 |
129 |
130 | Gets or sets an object that contains the transport-level security settings for the binding.
131 |
132 |
133 | Defines the modes of security that can be used to configure a service endpoint that uses the .
134 |
135 |
136 | Indicates no security is used with HTTP requests.
137 |
138 |
139 | Indicates that transport-level security is used with HTTP requests.
140 |
141 |
142 | Indicates that only HTTP-based client authentication is provided.
143 |
144 |
145 |
--------------------------------------------------------------------------------
/WpfApplication1/bin/Debug/System.Web.Http.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/filipw/aspnetwebapi-wpf-p2p-chat/36409f0b94b213956dc63ba00c55d3c7684a0ae9/WpfApplication1/bin/Debug/System.Web.Http.dll
--------------------------------------------------------------------------------
/WpfApplication1/bin/Debug/WpfApplication1.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/filipw/aspnetwebapi-wpf-p2p-chat/36409f0b94b213956dc63ba00c55d3c7684a0ae9/WpfApplication1/bin/Debug/WpfApplication1.exe
--------------------------------------------------------------------------------
/WpfApplication1/bin/Debug/WpfApplication1.exe.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/WpfApplication1/bin/Debug/WpfApplication1.pdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/filipw/aspnetwebapi-wpf-p2p-chat/36409f0b94b213956dc63ba00c55d3c7684a0ae9/WpfApplication1/bin/Debug/WpfApplication1.pdb
--------------------------------------------------------------------------------
/WpfApplication1/bin/Debug/WpfApplication1.vshost.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/filipw/aspnetwebapi-wpf-p2p-chat/36409f0b94b213956dc63ba00c55d3c7684a0ae9/WpfApplication1/bin/Debug/WpfApplication1.vshost.exe
--------------------------------------------------------------------------------
/WpfApplication1/bin/Debug/WpfApplication1.vshost.exe.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/WpfApplication1/obj/Debug/App.g.cs:
--------------------------------------------------------------------------------
1 | #pragma checksum "..\..\App.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "17939CD77A20CB224C50F888BC8EE5AF"
2 | //------------------------------------------------------------------------------
3 | //
4 | // This code was generated by a tool.
5 | // Runtime Version:4.0.30319.17379
6 | //
7 | // Changes to this file may cause incorrect behavior and will be lost if
8 | // the code is regenerated.
9 | //
10 | //------------------------------------------------------------------------------
11 |
12 | using System;
13 | using System.Diagnostics;
14 | using System.Windows;
15 | using System.Windows.Automation;
16 | using System.Windows.Controls;
17 | using System.Windows.Controls.Primitives;
18 | using System.Windows.Data;
19 | using System.Windows.Documents;
20 | using System.Windows.Ink;
21 | using System.Windows.Input;
22 | using System.Windows.Markup;
23 | using System.Windows.Media;
24 | using System.Windows.Media.Animation;
25 | using System.Windows.Media.Effects;
26 | using System.Windows.Media.Imaging;
27 | using System.Windows.Media.Media3D;
28 | using System.Windows.Media.TextFormatting;
29 | using System.Windows.Navigation;
30 | using System.Windows.Shapes;
31 | using System.Windows.Shell;
32 |
33 |
34 | namespace Filip.ChatGUI {
35 |
36 |
37 | ///
38 | /// App
39 | ///
40 | public partial class App : System.Windows.Application {
41 |
42 | ///
43 | /// InitializeComponent
44 | ///
45 | [System.Diagnostics.DebuggerNonUserCodeAttribute()]
46 | [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
47 | public void InitializeComponent() {
48 |
49 | #line 4 "..\..\App.xaml"
50 | this.StartupUri = new System.Uri("MainWindow.xaml", System.UriKind.Relative);
51 |
52 | #line default
53 | #line hidden
54 | }
55 |
56 | ///
57 | /// Application Entry Point.
58 | ///
59 | [System.STAThreadAttribute()]
60 | [System.Diagnostics.DebuggerNonUserCodeAttribute()]
61 | [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
62 | public static void Main() {
63 | Filip.ChatGUI.App app = new Filip.ChatGUI.App();
64 | app.InitializeComponent();
65 | app.Run();
66 | }
67 | }
68 | }
69 |
70 |
--------------------------------------------------------------------------------
/WpfApplication1/obj/Debug/App.g.i.cs:
--------------------------------------------------------------------------------
1 | #pragma checksum "..\..\App.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "17939CD77A20CB224C50F888BC8EE5AF"
2 | //------------------------------------------------------------------------------
3 | //
4 | // This code was generated by a tool.
5 | // Runtime Version:4.0.30319.17379
6 | //
7 | // Changes to this file may cause incorrect behavior and will be lost if
8 | // the code is regenerated.
9 | //
10 | //------------------------------------------------------------------------------
11 |
12 | using System;
13 | using System.Diagnostics;
14 | using System.Windows;
15 | using System.Windows.Automation;
16 | using System.Windows.Controls;
17 | using System.Windows.Controls.Primitives;
18 | using System.Windows.Data;
19 | using System.Windows.Documents;
20 | using System.Windows.Ink;
21 | using System.Windows.Input;
22 | using System.Windows.Markup;
23 | using System.Windows.Media;
24 | using System.Windows.Media.Animation;
25 | using System.Windows.Media.Effects;
26 | using System.Windows.Media.Imaging;
27 | using System.Windows.Media.Media3D;
28 | using System.Windows.Media.TextFormatting;
29 | using System.Windows.Navigation;
30 | using System.Windows.Shapes;
31 | using System.Windows.Shell;
32 |
33 |
34 | namespace Filip.ChatGUI {
35 |
36 |
37 | ///
38 | /// App
39 | ///
40 | public partial class App : System.Windows.Application {
41 |
42 | ///
43 | /// InitializeComponent
44 | ///
45 | [System.Diagnostics.DebuggerNonUserCodeAttribute()]
46 | [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
47 | public void InitializeComponent() {
48 |
49 | #line 4 "..\..\App.xaml"
50 | this.StartupUri = new System.Uri("MainWindow.xaml", System.UriKind.Relative);
51 |
52 | #line default
53 | #line hidden
54 | }
55 |
56 | ///
57 | /// Application Entry Point.
58 | ///
59 | [System.STAThreadAttribute()]
60 | [System.Diagnostics.DebuggerNonUserCodeAttribute()]
61 | [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
62 | public static void Main() {
63 | Filip.ChatGUI.App app = new Filip.ChatGUI.App();
64 | app.InitializeComponent();
65 | app.Run();
66 | }
67 | }
68 | }
69 |
70 |
--------------------------------------------------------------------------------
/WpfApplication1/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/filipw/aspnetwebapi-wpf-p2p-chat/36409f0b94b213956dc63ba00c55d3c7684a0ae9/WpfApplication1/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache
--------------------------------------------------------------------------------
/WpfApplication1/obj/Debug/Filip.ChatGUI.Properties.Resources.resources:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/filipw/aspnetwebapi-wpf-p2p-chat/36409f0b94b213956dc63ba00c55d3c7684a0ae9/WpfApplication1/obj/Debug/Filip.ChatGUI.Properties.Resources.resources
--------------------------------------------------------------------------------
/WpfApplication1/obj/Debug/MainWindow.baml:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/filipw/aspnetwebapi-wpf-p2p-chat/36409f0b94b213956dc63ba00c55d3c7684a0ae9/WpfApplication1/obj/Debug/MainWindow.baml
--------------------------------------------------------------------------------
/WpfApplication1/obj/Debug/MainWindow.g.cs:
--------------------------------------------------------------------------------
1 | #pragma checksum "..\..\MainWindow.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "3A3D1AA064DD05315FD3DC610D7893EF"
2 | //------------------------------------------------------------------------------
3 | //
4 | // This code was generated by a tool.
5 | // Runtime Version:4.0.30319.17379
6 | //
7 | // Changes to this file may cause incorrect behavior and will be lost if
8 | // the code is regenerated.
9 | //
10 | //------------------------------------------------------------------------------
11 |
12 | using System;
13 | using System.Diagnostics;
14 | using System.Windows;
15 | using System.Windows.Automation;
16 | using System.Windows.Controls;
17 | using System.Windows.Controls.Primitives;
18 | using System.Windows.Data;
19 | using System.Windows.Documents;
20 | using System.Windows.Ink;
21 | using System.Windows.Input;
22 | using System.Windows.Markup;
23 | using System.Windows.Media;
24 | using System.Windows.Media.Animation;
25 | using System.Windows.Media.Effects;
26 | using System.Windows.Media.Imaging;
27 | using System.Windows.Media.Media3D;
28 | using System.Windows.Media.TextFormatting;
29 | using System.Windows.Navigation;
30 | using System.Windows.Shapes;
31 | using System.Windows.Shell;
32 |
33 |
34 | namespace Filip.ChatGUI {
35 |
36 |
37 | ///
38 | /// MainWindow
39 | ///
40 | public partial class MainWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector {
41 |
42 |
43 | #line 16 "..\..\MainWindow.xaml"
44 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
45 | internal System.Windows.Controls.TextBox chatArea;
46 |
47 | #line default
48 | #line hidden
49 |
50 |
51 | #line 18 "..\..\MainWindow.xaml"
52 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
53 | internal System.Windows.Controls.TextBox inputText;
54 |
55 | #line default
56 | #line hidden
57 |
58 |
59 | #line 24 "..\..\MainWindow.xaml"
60 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
61 | internal System.Windows.Controls.TextBox userName;
62 |
63 | #line default
64 | #line hidden
65 |
66 |
67 | #line 25 "..\..\MainWindow.xaml"
68 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
69 | internal System.Windows.Controls.TextBox textBoxMyPort;
70 |
71 | #line default
72 | #line hidden
73 |
74 |
75 | #line 26 "..\..\MainWindow.xaml"
76 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
77 | internal System.Windows.Controls.TextBox textBoxPartnerAddress;
78 |
79 | #line default
80 | #line hidden
81 |
82 | private bool _contentLoaded;
83 |
84 | ///
85 | /// InitializeComponent
86 | ///
87 | [System.Diagnostics.DebuggerNonUserCodeAttribute()]
88 | [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
89 | public void InitializeComponent() {
90 | if (_contentLoaded) {
91 | return;
92 | }
93 | _contentLoaded = true;
94 | System.Uri resourceLocater = new System.Uri("/WpfApplication1;component/mainwindow.xaml", System.UriKind.Relative);
95 |
96 | #line 1 "..\..\MainWindow.xaml"
97 | System.Windows.Application.LoadComponent(this, resourceLocater);
98 |
99 | #line default
100 | #line hidden
101 | }
102 |
103 | [System.Diagnostics.DebuggerNonUserCodeAttribute()]
104 | [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
105 | [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
106 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
107 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
108 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
109 | void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
110 | switch (connectionId)
111 | {
112 | case 1:
113 | this.chatArea = ((System.Windows.Controls.TextBox)(target));
114 | return;
115 | case 2:
116 | this.inputText = ((System.Windows.Controls.TextBox)(target));
117 |
118 | #line 18 "..\..\MainWindow.xaml"
119 | this.inputText.KeyDown += new System.Windows.Input.KeyEventHandler(this.userInputText_KeyDown);
120 |
121 | #line default
122 | #line hidden
123 | return;
124 | case 3:
125 | this.userName = ((System.Windows.Controls.TextBox)(target));
126 | return;
127 | case 4:
128 | this.textBoxMyPort = ((System.Windows.Controls.TextBox)(target));
129 | return;
130 | case 5:
131 | this.textBoxPartnerAddress = ((System.Windows.Controls.TextBox)(target));
132 | return;
133 | case 6:
134 |
135 | #line 27 "..\..\MainWindow.xaml"
136 | ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.startChat);
137 |
138 | #line default
139 | #line hidden
140 | return;
141 | case 7:
142 |
143 | #line 29 "..\..\MainWindow.xaml"
144 | ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.click_sendMessage);
145 |
146 | #line default
147 | #line hidden
148 | return;
149 | }
150 | this._contentLoaded = true;
151 | }
152 | }
153 | }
154 |
155 |
--------------------------------------------------------------------------------
/WpfApplication1/obj/Debug/MainWindow.g.i.cs:
--------------------------------------------------------------------------------
1 | #pragma checksum "..\..\MainWindow.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "3A3D1AA064DD05315FD3DC610D7893EF"
2 | //------------------------------------------------------------------------------
3 | //
4 | // This code was generated by a tool.
5 | // Runtime Version:4.0.30319.17379
6 | //
7 | // Changes to this file may cause incorrect behavior and will be lost if
8 | // the code is regenerated.
9 | //
10 | //------------------------------------------------------------------------------
11 |
12 | using System;
13 | using System.Diagnostics;
14 | using System.Windows;
15 | using System.Windows.Automation;
16 | using System.Windows.Controls;
17 | using System.Windows.Controls.Primitives;
18 | using System.Windows.Data;
19 | using System.Windows.Documents;
20 | using System.Windows.Ink;
21 | using System.Windows.Input;
22 | using System.Windows.Markup;
23 | using System.Windows.Media;
24 | using System.Windows.Media.Animation;
25 | using System.Windows.Media.Effects;
26 | using System.Windows.Media.Imaging;
27 | using System.Windows.Media.Media3D;
28 | using System.Windows.Media.TextFormatting;
29 | using System.Windows.Navigation;
30 | using System.Windows.Shapes;
31 | using System.Windows.Shell;
32 |
33 |
34 | namespace Filip.ChatGUI {
35 |
36 |
37 | ///
38 | /// MainWindow
39 | ///
40 | public partial class MainWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector {
41 |
42 |
43 | #line 16 "..\..\MainWindow.xaml"
44 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
45 | internal System.Windows.Controls.TextBox chatArea;
46 |
47 | #line default
48 | #line hidden
49 |
50 |
51 | #line 18 "..\..\MainWindow.xaml"
52 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
53 | internal System.Windows.Controls.TextBox inputText;
54 |
55 | #line default
56 | #line hidden
57 |
58 |
59 | #line 24 "..\..\MainWindow.xaml"
60 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
61 | internal System.Windows.Controls.TextBox userName;
62 |
63 | #line default
64 | #line hidden
65 |
66 |
67 | #line 25 "..\..\MainWindow.xaml"
68 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
69 | internal System.Windows.Controls.TextBox textBoxMyPort;
70 |
71 | #line default
72 | #line hidden
73 |
74 |
75 | #line 26 "..\..\MainWindow.xaml"
76 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
77 | internal System.Windows.Controls.TextBox textBoxPartnerAddress;
78 |
79 | #line default
80 | #line hidden
81 |
82 | private bool _contentLoaded;
83 |
84 | ///
85 | /// InitializeComponent
86 | ///
87 | [System.Diagnostics.DebuggerNonUserCodeAttribute()]
88 | [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
89 | public void InitializeComponent() {
90 | if (_contentLoaded) {
91 | return;
92 | }
93 | _contentLoaded = true;
94 | System.Uri resourceLocater = new System.Uri("/WpfApplication1;component/mainwindow.xaml", System.UriKind.Relative);
95 |
96 | #line 1 "..\..\MainWindow.xaml"
97 | System.Windows.Application.LoadComponent(this, resourceLocater);
98 |
99 | #line default
100 | #line hidden
101 | }
102 |
103 | [System.Diagnostics.DebuggerNonUserCodeAttribute()]
104 | [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
105 | [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
106 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
107 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
108 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
109 | void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
110 | switch (connectionId)
111 | {
112 | case 1:
113 | this.chatArea = ((System.Windows.Controls.TextBox)(target));
114 | return;
115 | case 2:
116 | this.inputText = ((System.Windows.Controls.TextBox)(target));
117 |
118 | #line 18 "..\..\MainWindow.xaml"
119 | this.inputText.KeyDown += new System.Windows.Input.KeyEventHandler(this.userInputText_KeyDown);
120 |
121 | #line default
122 | #line hidden
123 | return;
124 | case 3:
125 | this.userName = ((System.Windows.Controls.TextBox)(target));
126 | return;
127 | case 4:
128 | this.textBoxMyPort = ((System.Windows.Controls.TextBox)(target));
129 | return;
130 | case 5:
131 | this.textBoxPartnerAddress = ((System.Windows.Controls.TextBox)(target));
132 | return;
133 | case 6:
134 |
135 | #line 27 "..\..\MainWindow.xaml"
136 | ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.startChat);
137 |
138 | #line default
139 | #line hidden
140 | return;
141 | case 7:
142 |
143 | #line 29 "..\..\MainWindow.xaml"
144 | ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.click_sendMessage);
145 |
146 | #line default
147 | #line hidden
148 | return;
149 | }
150 | this._contentLoaded = true;
151 | }
152 | }
153 | }
154 |
155 |
--------------------------------------------------------------------------------
/WpfApplication1/obj/Debug/TempPE/Properties.Resources.Designer.cs.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/filipw/aspnetwebapi-wpf-p2p-chat/36409f0b94b213956dc63ba00c55d3c7684a0ae9/WpfApplication1/obj/Debug/TempPE/Properties.Resources.Designer.cs.dll
--------------------------------------------------------------------------------
/WpfApplication1/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/filipw/aspnetwebapi-wpf-p2p-chat/36409f0b94b213956dc63ba00c55d3c7684a0ae9/WpfApplication1/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs
--------------------------------------------------------------------------------
/WpfApplication1/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/filipw/aspnetwebapi-wpf-p2p-chat/36409f0b94b213956dc63ba00c55d3c7684a0ae9/WpfApplication1/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs
--------------------------------------------------------------------------------
/WpfApplication1/obj/Debug/WpfApplication1.csproj.FileListAbsolute.txt:
--------------------------------------------------------------------------------
1 | C:\Users\Filip\Documents\Visual Studio 11\Projects\WpfApplication1\WpfApplication1\bin\Debug\WpfApplication1.exe.config
2 | C:\Users\Filip\Documents\Visual Studio 11\Projects\WpfApplication1\WpfApplication1\bin\Debug\WpfApplication1.exe
3 | C:\Users\Filip\Documents\Visual Studio 11\Projects\WpfApplication1\WpfApplication1\bin\Debug\WpfApplication1.pdb
4 | C:\Users\Filip\Documents\Visual Studio 11\Projects\WpfApplication1\WpfApplication1\bin\Debug\System.Json.dll
5 | C:\Users\Filip\Documents\Visual Studio 11\Projects\WpfApplication1\WpfApplication1\bin\Debug\System.Net.Http.dll
6 | C:\Users\Filip\Documents\Visual Studio 11\Projects\WpfApplication1\WpfApplication1\bin\Debug\System.Net.Http.Formatting.dll
7 | C:\Users\Filip\Documents\Visual Studio 11\Projects\WpfApplication1\WpfApplication1\bin\Debug\System.Net.Http.WebRequest.dll
8 | C:\Users\Filip\Documents\Visual Studio 11\Projects\WpfApplication1\WpfApplication1\bin\Debug\System.Web.Http.Common.dll
9 | C:\Users\Filip\Documents\Visual Studio 11\Projects\WpfApplication1\WpfApplication1\bin\Debug\System.Web.Http.dll
10 | C:\Users\Filip\Documents\Visual Studio 11\Projects\WpfApplication1\WpfApplication1\bin\Debug\System.Web.Http.SelfHost.dll
11 | C:\Users\Filip\Documents\Visual Studio 11\Projects\WpfApplication1\WpfApplication1\bin\Debug\System.Json.xml
12 | C:\Users\Filip\Documents\Visual Studio 11\Projects\WpfApplication1\WpfApplication1\bin\Debug\System.Net.Http.xml
13 | C:\Users\Filip\Documents\Visual Studio 11\Projects\WpfApplication1\WpfApplication1\bin\Debug\System.Net.Http.Formatting.xml
14 | C:\Users\Filip\Documents\Visual Studio 11\Projects\WpfApplication1\WpfApplication1\bin\Debug\System.Net.Http.WebRequest.xml
15 | C:\Users\Filip\Documents\Visual Studio 11\Projects\WpfApplication1\WpfApplication1\bin\Debug\System.Web.Http.xml
16 | C:\Users\Filip\Documents\Visual Studio 11\Projects\WpfApplication1\WpfApplication1\bin\Debug\System.Web.Http.Common.xml
17 | C:\Users\Filip\Documents\Visual Studio 11\Projects\WpfApplication1\WpfApplication1\bin\Debug\System.Web.Http.SelfHost.xml
18 | C:\Users\Filip\Documents\Visual Studio 11\Projects\WpfApplication1\WpfApplication1\obj\Debug\WpfApplication1.csprojResolveAssemblyReference.cache
19 | C:\Users\Filip\Documents\Visual Studio 11\Projects\WpfApplication1\WpfApplication1\obj\Debug\MainWindow.baml
20 | C:\Users\Filip\Documents\Visual Studio 11\Projects\WpfApplication1\WpfApplication1\obj\Debug\MainWindow.g.cs
21 | C:\Users\Filip\Documents\Visual Studio 11\Projects\WpfApplication1\WpfApplication1\obj\Debug\App.g.cs
22 | C:\Users\Filip\Documents\Visual Studio 11\Projects\WpfApplication1\WpfApplication1\obj\Debug\WpfApplication1_MarkupCompile.cache
23 | C:\Users\Filip\Documents\Visual Studio 11\Projects\WpfApplication1\WpfApplication1\obj\Debug\WpfApplication1.g.resources
24 | C:\Users\Filip\Documents\Visual Studio 11\Projects\WpfApplication1\WpfApplication1\obj\Debug\WpfApplication1.csproj.GenerateResource.Cache
25 | C:\Users\Filip\Documents\Visual Studio 11\Projects\WpfApplication1\WpfApplication1\obj\Debug\WpfApplication1.exe
26 | C:\Users\Filip\Documents\Visual Studio 11\Projects\WpfApplication1\WpfApplication1\obj\Debug\WpfApplication1.pdb
27 | C:\Users\Filip\Documents\Visual Studio 11\Projects\WpfApplication1\WpfApplication1\obj\Debug\Filip.ChatGUI.Properties.Resources.resources
28 |
--------------------------------------------------------------------------------
/WpfApplication1/obj/Debug/WpfApplication1.csproj.GenerateResource.Cache:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/filipw/aspnetwebapi-wpf-p2p-chat/36409f0b94b213956dc63ba00c55d3c7684a0ae9/WpfApplication1/obj/Debug/WpfApplication1.csproj.GenerateResource.Cache
--------------------------------------------------------------------------------
/WpfApplication1/obj/Debug/WpfApplication1.csprojResolveAssemblyReference.cache:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/filipw/aspnetwebapi-wpf-p2p-chat/36409f0b94b213956dc63ba00c55d3c7684a0ae9/WpfApplication1/obj/Debug/WpfApplication1.csprojResolveAssemblyReference.cache
--------------------------------------------------------------------------------
/WpfApplication1/obj/Debug/WpfApplication1.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/filipw/aspnetwebapi-wpf-p2p-chat/36409f0b94b213956dc63ba00c55d3c7684a0ae9/WpfApplication1/obj/Debug/WpfApplication1.exe
--------------------------------------------------------------------------------
/WpfApplication1/obj/Debug/WpfApplication1.g.resources:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/filipw/aspnetwebapi-wpf-p2p-chat/36409f0b94b213956dc63ba00c55d3c7684a0ae9/WpfApplication1/obj/Debug/WpfApplication1.g.resources
--------------------------------------------------------------------------------
/WpfApplication1/obj/Debug/WpfApplication1.pdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/filipw/aspnetwebapi-wpf-p2p-chat/36409f0b94b213956dc63ba00c55d3c7684a0ae9/WpfApplication1/obj/Debug/WpfApplication1.pdb
--------------------------------------------------------------------------------
/WpfApplication1/obj/Debug/WpfApplication1_MarkupCompile.cache:
--------------------------------------------------------------------------------
1 | WpfApplication1
2 |
3 |
4 | winexe
5 | C#
6 | .cs
7 | C:\Users\Filip\Documents\Visual Studio 11\Projects\WpfApplication1\WpfApplication1\obj\Debug\
8 | Filip.ChatGUI
9 | none
10 | false
11 | DEBUG;TRACE
12 | C:\Users\Filip\Documents\Visual Studio 11\Projects\WpfApplication1\WpfApplication1\App.xaml
13 | 11151548125
14 |
15 | 9-1564404968
16 | 19146993186
17 | MainWindow.xaml;
18 |
19 | False
20 |
21 |
--------------------------------------------------------------------------------
/WpfApplication1/obj/Debug/WpfApplication1_MarkupCompile.i.cache:
--------------------------------------------------------------------------------
1 | WpfApplication1
2 |
3 |
4 | winexe
5 | C#
6 | .cs
7 | C:\Users\Filip\Documents\Visual Studio 11\Projects\WpfApplication1\WpfApplication1\obj\Debug\
8 | Filip.ChatGUI
9 | none
10 | false
11 | DEBUG;TRACE
12 | C:\Users\Filip\Documents\Visual Studio 11\Projects\WpfApplication1\WpfApplication1\App.xaml
13 | 11151548125
14 |
15 | 12-1058655516
16 | 19146993186
17 | MainWindow.xaml;
18 |
19 | False
20 |
21 |
--------------------------------------------------------------------------------
/WpfApplication1/packages.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/packages/AspNetWebApi.Core.4.0.20126.16343/AspNetWebApi.Core.4.0.20126.16343.nupkg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/filipw/aspnetwebapi-wpf-p2p-chat/36409f0b94b213956dc63ba00c55d3c7684a0ae9/packages/AspNetWebApi.Core.4.0.20126.16343/AspNetWebApi.Core.4.0.20126.16343.nupkg
--------------------------------------------------------------------------------
/packages/AspNetWebApi.Core.4.0.20126.16343/lib/net40/System.Web.Http.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/filipw/aspnetwebapi-wpf-p2p-chat/36409f0b94b213956dc63ba00c55d3c7684a0ae9/packages/AspNetWebApi.Core.4.0.20126.16343/lib/net40/System.Web.Http.dll
--------------------------------------------------------------------------------
/packages/AspNetWebApi.SelfHost.4.0.20126.16343/AspNetWebApi.SelfHost.4.0.20126.16343.nupkg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/filipw/aspnetwebapi-wpf-p2p-chat/36409f0b94b213956dc63ba00c55d3c7684a0ae9/packages/AspNetWebApi.SelfHost.4.0.20126.16343/AspNetWebApi.SelfHost.4.0.20126.16343.nupkg
--------------------------------------------------------------------------------
/packages/AspNetWebApi.SelfHost.4.0.20126.16343/lib/net40/System.Web.Http.SelfHost.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/filipw/aspnetwebapi-wpf-p2p-chat/36409f0b94b213956dc63ba00c55d3c7684a0ae9/packages/AspNetWebApi.SelfHost.4.0.20126.16343/lib/net40/System.Web.Http.SelfHost.dll
--------------------------------------------------------------------------------
/packages/AspNetWebApi.SelfHost.4.0.20126.16343/lib/net40/System.Web.Http.SelfHost.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | System.Web.Http.SelfHost
5 |
6 |
7 |
8 | The configuration class for Http Services
9 |
10 |
11 | Initializes a new instance of the class.
12 | The base address.
13 |
14 |
15 | Initializes a new instance of the class.
16 | The base address.
17 |
18 |
19 | Gets the base address.
20 | The base address.
21 |
22 |
23 | Gets or sets the size of the max buffer.
24 | The size of the max buffer.
25 |
26 |
27 | Gets or sets the upper limit of how many concurrent instances can be processed at any given time. The default is 100 times the number of CPU cores.
28 |
29 |
30 |
31 |
32 |
33 | Gets or sets the size of the max received message.
34 | The size of the max received message.
35 |
36 |
37 | Called to apply the configuration on the endpoint level.
38 | The to use when building the or null if no binding parameters are present.
39 | Http endpoint.
40 |
41 |
42 | Configure server's certificate
43 |
44 |
45 | Gets or sets the transfer mode.
46 | The transfer mode.
47 |
48 |
49 | Gets or sets UserNamePasswordValidator so that it can be used to validate the username and password sent over HTTP or HTTPS
50 | The server certificate.
51 |
52 |
53 | Use this flag to indicate that you want to use windows authentication. This flag can not be used together with UserNamePasswordValidator property since you can either use Windows or Username Password as client credential.
54 | set it true if you want to use windows authentication
55 |
56 |
57 | Implementation of an which listens directly to HTTP.
58 |
59 |
60 | Initializes a new instance of the class.
61 | The configuration.
62 |
63 |
64 | Initializes a new instance of the class.
65 | The configuration.
66 | The dispatcher.
67 |
68 |
69 | Closes the current instance.
70 | A representing the asynchronous close operation.
71 |
72 |
73 | Opens the current instance.
74 | A representing the asynchronous open operation. Once this task completes successfully the server is running.
75 |
76 |
77 | Provides a key for the current stored in . Do not change this key as this is being used by WCF.
78 |
79 |
80 | A binding used with endpoints for web services that use strongly-type HTTP request and response messages.
81 |
82 |
83 | Initializes a new instance of the class.
84 |
85 |
86 | Initializes a new instance of the class with the type of security used by the binding explicitly specified.
87 | The value of that specifies the type of security that is used to configure a service endpoint using the binding.
88 |
89 |
90 | Returns an ordered collection of binding elements contained in the current binding. (Overrides <see cref="M:System.ServiceModel.Channels.Binding.CreateBindingElements"> Binding.CreateBindingElements</see>.)
91 | An ordered collection of binding elements contained in the current binding.
92 |
93 |
94 | Gets the envelope version that is used by endpoints that are configured to use an binding. Always returns .
95 |
96 |
97 | Gets or sets a value that indicates whether the hostname is used to reach the service when matching the URI.
98 |
99 |
100 | Gets or sets the maximum amount of memory allocated for the buffer manager that manages the buffers required by endpoints that use this binding.
101 |
102 |
103 | Gets or sets the maximum amount of memory that is allocated for use by the manager of the message buffers that receive messages from the channel.
104 |
105 |
106 | Gets or sets the maximum size for a message that can be processed by the binding.
107 |
108 |
109 | Gets the URI transport scheme for the channels and listeners that are configured with this binding. (Overrides <see cref="P:System.ServiceModel.Channels.Binding.Scheme"> Binding.Scheme</see>.)
110 |
111 |
112 | Gets or sets the security settings used with this binding.
113 |
114 |
115 | Gets a value indicating whether incoming requests can be handled more efficiently synchronously or asynchronously.
116 |
117 |
118 | Gets or sets a value that indicates whether the service configured with the binding uses streamed or buffered (or both) modes of message transfer.
119 |
120 |
121 | Specifies the types of security available to a service endpoint configured to use an binding.
122 |
123 |
124 | Creates a new instance of the class.
125 |
126 |
127 | Gets or sets the mode of security that is used by an endpoint configured to use an binding.
128 |
129 |
130 | Gets or sets an object that contains the transport-level security settings for the binding.
131 |
132 |
133 | Defines the modes of security that can be used to configure a service endpoint that uses the .
134 |
135 |
136 | Indicates no security is used with HTTP requests.
137 |
138 |
139 | Indicates that transport-level security is used with HTTP requests.
140 |
141 |
142 | Indicates that only HTTP-based client authentication is provided.
143 |
144 |
145 |
--------------------------------------------------------------------------------
/packages/System.Json.4.0.20126.16343/System.Json.4.0.20126.16343.nupkg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/filipw/aspnetwebapi-wpf-p2p-chat/36409f0b94b213956dc63ba00c55d3c7684a0ae9/packages/System.Json.4.0.20126.16343/System.Json.4.0.20126.16343.nupkg
--------------------------------------------------------------------------------
/packages/System.Json.4.0.20126.16343/lib/net40/System.Json.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/filipw/aspnetwebapi-wpf-p2p-chat/36409f0b94b213956dc63ba00c55d3c7684a0ae9/packages/System.Json.4.0.20126.16343/lib/net40/System.Json.dll
--------------------------------------------------------------------------------
/packages/System.Net.Http.2.0.20126.16343/System.Net.Http.2.0.20126.16343.nupkg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/filipw/aspnetwebapi-wpf-p2p-chat/36409f0b94b213956dc63ba00c55d3c7684a0ae9/packages/System.Net.Http.2.0.20126.16343/System.Net.Http.2.0.20126.16343.nupkg
--------------------------------------------------------------------------------
/packages/System.Net.Http.2.0.20126.16343/lib/net40/System.Net.Http.WebRequest.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/filipw/aspnetwebapi-wpf-p2p-chat/36409f0b94b213956dc63ba00c55d3c7684a0ae9/packages/System.Net.Http.2.0.20126.16343/lib/net40/System.Net.Http.WebRequest.dll
--------------------------------------------------------------------------------
/packages/System.Net.Http.2.0.20126.16343/lib/net40/System.Net.Http.WebRequest.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | System.Net.Http.WebRequest
5 |
6 |
7 |
8 | Represents the class that is used to create special for use with the Real-Time-Communications (RTC) background notification infrastructure.
9 |
10 |
11 | Creates a special for use with the Real-Time-Communications (RTC) background notification infrastructure.
12 | Returns .An HTTP request message for use with the RTC background notification infrastructure.
13 | The HTTP method.
14 | The Uri the request is sent to.
15 |
16 |
17 | Provides desktop-specific features not available to Metro apps or other environments.
18 |
19 |
20 | Initializes a new instance of the class.
21 |
22 |
23 | Gets or sets a value that indicates whether to pipeline the request to the Internet resource.
24 | Returns .true if the request should be pipelined; otherwise, false. The default is true.
25 |
26 |
27 | Gets or sets a value indicating the level of authentication and impersonation used for this request.
28 | Returns .A bitwise combination of the values. The default value is .
29 |
30 |
31 | Gets or sets the cache policy for this request.
32 | Returns .A object that defines a cache policy. The default is .
33 |
34 |
35 | Gets or sets the collection of security certificates that are associated with this request.
36 | Returns .The collection of security certificates associated with this request.
37 |
38 |
39 | Gets or sets the amount of time, in milliseconds, the application will wait for 100-continue from the server before uploading data.
40 | Returns .The amount of time, in milliseconds, the application will wait for 100-continue from the server before uploading data. The default value is 350 milliseconds.
41 |
42 |
43 | Gets or sets the impersonation level for the current request.
44 | Returns .The impersonation level for the request. The default is .
45 |
46 |
47 | Gets or sets the maximum allowed length of the response headers.
48 | Returns .The length, in kilobytes (1024 bytes), of the response headers.
49 |
50 |
51 | Gets or sets a time-out in milliseconds when writing a request to or reading a response from a server.
52 | Returns .The number of milliseconds before the writing or reading times out. The default value is 300,000 milliseconds (5 minutes).
53 |
54 |
55 | Gets or sets a value that indicates whether to allow high-speed NTLM-authenticated connection sharing.
56 | Returns .true to keep the authenticated connection open; otherwise, false.
57 |
58 |
59 |
--------------------------------------------------------------------------------
/packages/System.Net.Http.2.0.20126.16343/lib/net40/System.Net.Http.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/filipw/aspnetwebapi-wpf-p2p-chat/36409f0b94b213956dc63ba00c55d3c7684a0ae9/packages/System.Net.Http.2.0.20126.16343/lib/net40/System.Net.Http.dll
--------------------------------------------------------------------------------
/packages/System.Net.Http.Formatting.4.0.20126.16343/System.Net.Http.Formatting.4.0.20126.16343.nupkg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/filipw/aspnetwebapi-wpf-p2p-chat/36409f0b94b213956dc63ba00c55d3c7684a0ae9/packages/System.Net.Http.Formatting.4.0.20126.16343/System.Net.Http.Formatting.4.0.20126.16343.nupkg
--------------------------------------------------------------------------------
/packages/System.Net.Http.Formatting.4.0.20126.16343/lib/net40/System.Net.Http.Formatting.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/filipw/aspnetwebapi-wpf-p2p-chat/36409f0b94b213956dc63ba00c55d3c7684a0ae9/packages/System.Net.Http.Formatting.4.0.20126.16343/lib/net40/System.Net.Http.Formatting.dll
--------------------------------------------------------------------------------
/packages/System.Web.Http.Common.4.0.20126.16343/System.Web.Http.Common.4.0.20126.16343.nupkg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/filipw/aspnetwebapi-wpf-p2p-chat/36409f0b94b213956dc63ba00c55d3c7684a0ae9/packages/System.Web.Http.Common.4.0.20126.16343/System.Web.Http.Common.4.0.20126.16343.nupkg
--------------------------------------------------------------------------------
/packages/System.Web.Http.Common.4.0.20126.16343/lib/net40/System.Web.Http.Common.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/filipw/aspnetwebapi-wpf-p2p-chat/36409f0b94b213956dc63ba00c55d3c7684a0ae9/packages/System.Web.Http.Common.4.0.20126.16343/lib/net40/System.Web.Http.Common.dll
--------------------------------------------------------------------------------
/packages/System.Web.Http.Common.4.0.20126.16343/lib/net40/System.Web.Http.Common.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | System.Web.Http.Common
5 |
6 |
7 |
8 | Provides extension methods for the class.
9 |
10 |
11 | Creates an wired up to the associated .
12 | An initialized .
13 | The HTTP request.
14 |
15 |
16 | Creates an wired up to the associated .
17 | An initialized .
18 | The HTTP request.
19 | The HTTP status code.
20 |
21 |
22 | The class can be used to indicate properties about a route parameter (the literals and placeholders located within segments of a ). It can for example be used to indicate that a route parameter is optional.
23 |
24 |
25 | Optional Parameter
26 |
27 |
28 | Returns a that represents this instance.
29 | A that represents this instance.
30 |
31 |
32 | Utility class for creating, logging and unwrapping instances.
33 |
34 |
35 | Creates an with the provided properties and logs it with .
36 | The logged .
37 | A composite format string explaining the reason for the exception.
38 | An object array that contains zero or more objects to format.
39 |
40 |
41 | Creates an with the provided properties and logs it with .
42 | The logged .
43 | The name of the parameter that caused the current exception.
44 | A composite format string explaining the reason for the exception.
45 | An object array that contains zero or more objects to format.
46 |
47 |
48 | Creates an with the provided properties and logs it with .
49 | The logged .
50 | The name of the parameter that caused the current exception.
51 |
52 |
53 | Creates an with the provided properties and logs it with .
54 | The logged .
55 | The name of the parameter that caused the current exception.
56 | A composite format string explaining the reason for the exception.
57 | An object array that contains zero or more objects to format.
58 |
59 |
60 | Creates an with a default message and logs it with .
61 | The logged .
62 | The name of the parameter that caused the current exception.
63 |
64 |
65 | Creates an with the provided properties and logs it with .
66 | The logged .
67 | The name of the parameter that caused the current exception.
68 | The value of the argument that causes this exception.
69 | A composite format string explaining the reason for the exception.
70 | An object array that contains zero or more objects to format.
71 |
72 |
73 | Creates an with a message saying that the argument must be less than or equal to maxValue and logs it with .
74 | The logged .
75 | The name of the parameter that caused the current exception.
76 | The value of the argument that causes this exception.
77 | The maximum size of the argument.
78 |
79 |
80 | Creates an with a message saying that the argument must be greater than or equal to minValue and logs it with .
81 | The logged .
82 | The name of the parameter that caused the current exception.
83 | The value of the argument that causes this exception.
84 | The minimum size of the argument.
85 |
86 |
87 | Creates an with a message saying that the argument must be an absolute URI without a query or fragment identifier and then logs it with .
88 | The logged .
89 | The name of the parameter that caused the current exception.
90 | The value of the argument that causes this exception.
91 |
92 |
93 | Creates an with a message saying that the argument must be an absolute URI and logs it with .
94 | The logged .
95 | The name of the parameter that caused the current exception.
96 | The value of the argument that causes this exception.
97 |
98 |
99 | Creates an with a message saying that the argument must be an "http" or "https" URI and logs it with .
100 | The logged .
101 | The name of the parameter that caused the current exception.
102 | The value of the argument that causes this exception.
103 |
104 |
105 | Unwraps and logs an as using <typeparamref name="TPreferredException" /> as the preferred unwrapped to return.
106 | The unwrapped and logged exception.
107 | The to unwrap and log
108 | The preferred to unwrap. If not present then the first is returned instead.
109 |
110 |
111 | Unwraps and logs an as .
112 | The unwrapped and logged exception.
113 | The exception to unwrap and log
114 |
115 |
116 | Unwraps and logs an as using <typeparamref name="TPreferredException" /> as the preferred unwrapped to return.
117 | The unwrapped and logged exception.
118 | The to unwrap and log
119 | The preferred to unwrap. If not present then the first is returned instead.
120 |
121 |
122 | Unwraps and logs an as .
123 | The unwrapped and logged exception.
124 | The exception to unwrap and log
125 |
126 |
127 | Unwraps and logs an as using <typeparamref name="TPreferredException" /> as the preferred unwrapped to return.
128 | The unwrapped and logged exception.
129 | The to unwrap and log
130 | The preferred to unwrap. If not present then the first is returned instead.
131 |
132 |
133 | Unwraps and logs an as .
134 | The unwrapped and logged exception.
135 | The exception to unwrap and log
136 |
137 |
138 | Unwraps and logs an as using <typeparamref name="TPreferredException" /> as the preferred unwrapped to return.
139 | The unwrapped and logged exception.
140 | The to unwrap and log
141 | The preferred to unwrap. If not present then the first is returned instead.
142 |
143 |
144 | Unwraps and logs an as .
145 | The unwrapped and logged exception.
146 | The exception to unwrap and log
147 |
148 |
149 | Formats the specified resource string using .
150 | The formatted string.
151 | A composite format string.
152 | An object array that contains zero or more objects to format.
153 |
154 |
155 | Creates an and logs it with .
156 | The logged .
157 | The name of the parameter that caused the current exception.
158 | The value of the argument that failed.
159 | A that represents the enumeration class with the valid values.
160 |
161 |
162 | Creates an and logs it with .
163 | The logged .
164 | Inner exception
165 | A composite format string explaining the reason for the exception.
166 | An object array that contains zero or more objects to format.
167 |
168 |
169 | Creates an and logs it with .
170 | The logged .
171 | A composite format string explaining the reason for the exception.
172 | An object array that contains zero or more objects to format.
173 |
174 |
175 | Creates an with a message saying that the key was not found and logs it with .
176 | The logged .
177 |
178 |
179 | Creates an with a message saying that the key was not found and logs it with .
180 | The logged .
181 | A composite format string explaining the reason for the exception.
182 | An object array that contains zero or more objects to format.
183 |
184 |
185 | Creates an and logs it with .
186 | The logged .
187 | A composite format string explaining the reason for the exception.
188 | An object array that contains zero or more objects to format.
189 |
190 |
191 | Creates an initialized according to guidelines and logs it with .
192 | The logged .
193 | A composite format string explaining the reason for the exception.
194 | An object array that contains zero or more objects to format.
195 |
196 |
197 | Creates an initialized with the provided parameters and logs it with .
198 | The logged .
199 |
200 |
201 | Creates an initialized with the provided parameters and logs it with .
202 | The logged .
203 | A composite format string explaining the reason for the exception.
204 | An object array that contains zero or more objects to format.
205 |
206 |
207 | Creates an with the provided properties and logs it with .
208 | The logged .
209 |
210 |
211 | Various helper methods for the static members of .
212 |
213 |
214 | Gets the static instance for any given HTTP method name.
215 | An existing static or a new instance if the method was not found.
216 | The HTTP request method.
217 |
218 |
219 | General purpose logging interface.
220 |
221 |
222 |
223 | Logs the given exception at the given level under the given category.
224 | The category under which to log the message. It can be empty but it cannot be null.
225 | The at which to log the exception.
226 | The to log. It cannot be null.
227 |
228 |
229 |
--------------------------------------------------------------------------------
/packages/repositories.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------