Ausnahme gefangen: SSL certificate problem: certificate is not yet valid ๐Ÿ“Œ OData Connected Service 0.7.1 Release

๐Ÿ  Team IT Security News

TSecurity.de ist eine Online-Plattform, die sich auf die Bereitstellung von Informationen,alle 15 Minuten neuste Nachrichten, Bildungsressourcen und Dienstleistungen rund um das Thema IT-Sicherheit spezialisiert hat.
Ob es sich um aktuelle Nachrichten, Fachartikel, Blogbeitrรคge, Webinare, Tutorials, oder Tipps & Tricks handelt, TSecurity.de bietet seinen Nutzern einen umfassenden รœberblick รผber die wichtigsten Aspekte der IT-Sicherheit in einer sich stรคndig verรคndernden digitalen Welt.

16.12.2023 - TIP: Wer den Cookie Consent Banner akzeptiert, kann z.B. von Englisch nach Deutsch รผbersetzen, erst Englisch auswรคhlen dann wieder Deutsch!

Google Android Playstore Download Button fรผr Team IT Security



๐Ÿ“š OData Connected Service 0.7.1 Release


๐Ÿ’ก Newskategorie: Programmierung
๐Ÿ”— Quelle: devblogs.microsoft.com

We are pleased to announce a new release of OData Connected Service, version 0.7.1. This version adds the following important features and bug fixes:

  1. VB.NET support
  2. Option to include or exclude operation imports from generated code
  3. Ability to access the metadata endpoint behind a proxy
  4. Bug fixes and other improvements

You can get the extension from the Visual Studio Marketplace.

1. VB.NET Support

You can now use OData Connected Service extension to generate OData client code for Visual Basic projects. The features supported in C# are also supported in VB.NET projects.

Letโ€™s create a simple VB.NET project to demonstrate how it works. Open Visual Studio and create a VB .NET Core Console App.

When the new project is ready, right-click the project node from the Solution Explorer and then choose Add > Connected Service in the context menu that appears

A screenshot of a cell phone Description automatically generated

In the Connected Services tab, select OData Connected Service.

A screenshot of a cell phone Description automatically generated

This loads the OData Connected Service configuration wizard. For this demo, weโ€™ll keep things simple and stick to the default settings. For the service address, use the sample Trip Pin service endpoint: https://services.odata.org/v4/TripPinService

Click Finish to start the client code generation process. After the process is complete, a Connected Services node is added to your project together with a child node named โ€œOData Serviceโ€. Inside the folder you should see the generated Reference.vb file.

A screenshot of a cell phone Description automatically generated

Weโ€™ll use the generated code to fetch a list of people from the service and display their names in the console.

Open the Program.vb file and replace its content with the following code:

Imports System
' this is the namespace that contains the generated code, based on the namespace defined in the service metadata
Imports OcsVbDemo.Microsoft.OData.SampleService.Models.TripPin
 
Module Program
Sub Main(args As String())
DisplayPeople().Wait()
End Sub
 
''' <summary>
''' Fetches and displayes a list of people from the OData service
''' </summary>
''' <returns></returns>
Async Function DisplayPeople() As Task
Dim container = New DefaultContainer(New Uri("https://services.odata.org/v4/TripPinService"))
Dim people = Await container.People.ExecuteAsync()
 
For Each person In people
Console.WriteLine(person.FirstName)
Next
End Function
End Module

ย 

The DefaultContainer is a generated class that inherits from DataServiceContext and gives us access to the resources exposed by the service. We create a Container instance using the URL of the service root. The container has a generated People property which weโ€™ll use to execute a query against the People entity set on the OData service and then display the results.

Finally, letโ€™s run the app. You should see a list of names displayed on the console:

2. Include/Exclude operation imports

This feature allows you to select the operations you want included in the generated code and exclude the ones you donโ€™t want. This gives you more control and helps keep the generated code lean. There is more work being done in this area, and in an upcoming release, you will also have the option to exclude entity types that you donโ€™t need.

This feature is available on the new Function/Action Imports page of the wizard.

A screenshot of a cell phone Description automatically generated

In the example above, GetNearestAirport and ResetDataSource will be generated, but GetPersonWithMostFriends will not.

Here are some important things to keep in mind regarding this feature:

  • It only covers operation imports (action and function imports), which are exposed directly on the entity container, it does not affect functions and actions accessible through entity types.
  • When an operation import is excluded, all its overloads get excluded
  • It is not supported for OData v3 services or lower.

3. Fetching service metadata behind a web proxy

Previously, when you used the connected service on a network that has a web proxy, the call to fetch service metadata would fail. To address this issue, we have provided a means for you to specify the web proxy configuration and credentials needed to access the network in such situations. These settings are not saved in the generated client, they are only used to fetch the metadata document during code generation. They are also not persisted or cached by default, meaning you would have to enter them each time you add or update a connected service.

You can specify the web proxy settings on the first page of the configuration wizard:

A screenshot of a cell phone Description automatically generated

4. Bug fixes and minor improvements

  • A bug was reported in the previous release that caused the connected service to fail if you provided a local file as the service address. This bug has been fixed
  • We added a Browser button to make it easier to select local files

Stay tuned for the next release.

Special thanks to the following contributors:

The post OData Connected Service 0.7.1 Release appeared first on OData.

...



๐Ÿ“Œ Using SkipToken for Paging in Asp.Net OData and Asp.Net Core OData


๐Ÿ“ˆ 43.95 Punkte

๐Ÿ“Œ Migrating OData V3 Services to OData V4 without Disrupting Existing Clients


๐Ÿ“ˆ 43.95 Punkte

๐Ÿ“Œ OData Connected Service 0.4.0 Release


๐Ÿ“ˆ 40.56 Punkte

๐Ÿ“Œ OData Connected Service version 0.6.0 Release


๐Ÿ“ˆ 40.56 Punkte

๐Ÿ“Œ OData Connected Service version 0.5.0 Release


๐Ÿ“ˆ 40.56 Punkte

๐Ÿ“Œ OData Connected Service 0.7.1 Release


๐Ÿ“ˆ 40.56 Punkte

๐Ÿ“Œ OData Connected Service v0.8.0 Release


๐Ÿ“ˆ 40.56 Punkte

๐Ÿ“Œ OData Connected Service 0.9.0 Release


๐Ÿ“ˆ 40.56 Punkte

๐Ÿ“Œ OData Connected Service 0.9.1 Release


๐Ÿ“ˆ 40.56 Punkte

๐Ÿ“Œ Vuln: Microsoft OData CVE-2018-8269 Denial of Service Vulnerability


๐Ÿ“ˆ 24.73 Punkte

๐Ÿ“Œ Microsoft Data.OData Web Request denial of service [CVE-2018-8269]


๐Ÿ“ˆ 24.73 Punkte

๐Ÿ“Œ SAP Adaptive Server Enterprise 16 Odata Server Crash denial of service


๐Ÿ“ˆ 24.73 Punkte

๐Ÿ“Œ SAP Focused RUN 200/300 oData Service improper authorization


๐Ÿ“ˆ 24.73 Punkte

๐Ÿ“Œ CVE-2023-29111 | SAP AIF 755/756 ODATA Service information disclosure


๐Ÿ“ˆ 24.73 Punkte

๐Ÿ“Œ SAP Adaptive Server Enterprise 16 Odata Server Crash Denial of Service


๐Ÿ“ˆ 24.73 Punkte

๐Ÿ“Œ SAP Adaptive Server Enterprise 16 Odata Server Crash Denial of Service


๐Ÿ“ˆ 24.73 Punkte

๐Ÿ“Œ Blazor and Customizing the OData entity model | On .NET


๐Ÿ“ˆ 21.97 Punkte

๐Ÿ“Œ #0daytoday #Apache Olingo OData 4.0 - XML External Entity Injection Exploit [webapps #exploits #0day #Exploit]


๐Ÿ“ˆ 21.97 Punkte

๐Ÿ“Œ [webapps] Apache Olingo OData 4.0 - XML External Entity Injection


๐Ÿ“ˆ 21.97 Punkte

๐Ÿ“Œ Apache Olingo OData 4.6.x XML Injection


๐Ÿ“ˆ 21.97 Punkte

๐Ÿ“Œ Experimenting with OData in ASP.NET Core 3.1


๐Ÿ“ˆ 21.97 Punkte

๐Ÿ“Œ $select Enhancement in ASP.NET Core OData


๐Ÿ“ˆ 21.97 Punkte

๐Ÿ“Œ Integrating Cosmos DB with OData (Part 3)


๐Ÿ“ˆ 21.97 Punkte

๐Ÿ“Œ Simplifying EDM with OData


๐Ÿ“ˆ 21.97 Punkte

๐Ÿ“Œ Enabling Pagination in Blazor with OData


๐Ÿ“ˆ 21.97 Punkte

๐Ÿ“Œ Integrating Cosmos DB with OData (Part 1)


๐Ÿ“ˆ 21.97 Punkte

๐Ÿ“Œ Enabling Endpoint Routing in OData


๐Ÿ“ˆ 21.97 Punkte

๐Ÿ“Œ SAP Mobile Platform 3.0 Offline OData Application information disclosure


๐Ÿ“ˆ 21.97 Punkte

๐Ÿ“Œ OData Model Builder now Available


๐Ÿ“ˆ 21.97 Punkte

๐Ÿ“Œ Exploring Graph Native Support for OData


๐Ÿ“ˆ 21.97 Punkte

๐Ÿ“Œ SAP Gateway 750/751/752/753 OData Request HTTP Header information disclosure


๐Ÿ“ˆ 21.97 Punkte

๐Ÿ“Œ Adding a little Swagger to OData | On .NET


๐Ÿ“ˆ 21.97 Punkte

๐Ÿ“Œ Customize Control Information for full metadata requests in odata.net


๐Ÿ“ˆ 21.97 Punkte

๐Ÿ“Œ Optimizing Web Applications with OData $Select


๐Ÿ“ˆ 21.97 Punkte

๐Ÿ“Œ Aggregation extensions in OData ASP.NET Core


๐Ÿ“ˆ 21.97 Punkte











matomo